Update Section_06/rev
This commit is contained in:
parent
94f03802fa
commit
4814dd3192
22
Section_06/rev
Normal file
22
Section_06/rev
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<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>
|
Loading…
x
Reference in New Issue
Block a user