2023-05-20 14:22:39 +00:00

23 lines
982 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<VirtualHost *:80> ProxyPreserveHost On
ProxyPass / http://127.0.0.1:8080/ ProxyPassReverse / http://127.0.0.1:8080/ ServerName fleet.sandboxify.com
</VirtualHost>
<VirtualHost *:443>
ServerName fleet-dash.sandboxify.com ServerAdmin kt@esokia.com #DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine On
SSLProxyEngine On
SSLProxyCheckPeerName Off
SSLProxyCheckPeerCN Off
SSLProxyVerify none
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/fleet-dash.sandboxify.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/fleet-dash.sandboxify.com/privkey.pem
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "443"
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / https://127.0.0.1:8080/ ProxyPassReverse / https://127.0.0.1:8080/
</VirtualHost>