Update rev
This commit is contained in:
parent
4814dd3192
commit
b81d31adac
@ -1,22 +0,0 @@
|
|||||||
<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>
|
|
14
Section_06/reverse_proxy.conf
Normal file
14
Section_06/reverse_proxy.conf
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<VirtualHost *:80>
|
||||||
|
# ServerName www.example.com
|
||||||
|
|
||||||
|
ServerAdmin webmaster@localhost
|
||||||
|
# DocumentRoot /var/www/html
|
||||||
|
|
||||||
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||||
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||||
|
|
||||||
|
ProxyRequests Off
|
||||||
|
ProxyPreserveHost On
|
||||||
|
ProxyPass / https://127.0.0.1:5000/
|
||||||
|
ProxyPassReverse / https://127.0.0.1:5000/
|
||||||
|
</VirtualHost>
|
Loading…
x
Reference in New Issue
Block a user