So I have an apache server that serves up some simple pages and i have a server dedicated to Seafile.
What do I need to add to my VHOST server to send it to the second server
I tried
<VirtualHost *:443>
ServerAdmin webmaster@localhost
ServerName myseafile.mydomain.com
#DocumentRoot /var/www/html
RewriteEngine On
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
SSLCertificateFile /etc/ssl/your-domain.com/zerossl_certificate.crt
SSLCertificateKeyFile /etc/ssl/your-domain.com/private.key
Include /etc/letsencrypt/options-ssl-apache.conf
Redirect “/” “https://192.168.0.100/” ###########THis kind of works but show the internal IP
##Kind of working #### Redirect permanent “/” “https://192.168.0.100/”
RedirectMatch ^/$ /myseafile
SSLProxyEngine on
ProxyPass / https://myseafile.mydomain.com/
ProxyPassReverse / https://192.168.0.100/
ProxyPass / https://192.168.0.100/
ProxyPassReverse / https://myseafile.mydomain.com
This kind of works but it shows the internal IPs and I’m pretty sure if I wasn’t sitting on the NAT i would not be able to access the server
any help would be appreciated