Small fixes in vhost
This commit is contained in:
parent
30041d16e1
commit
0ce93e0391
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
# Accept connections from non-SNI clients
|
# Accept connections from non-SNI clients
|
||||||
SSLStrictSNIVHostCheck off
|
SSLStrictSNIVHostCheck off
|
||||||
|
# Need this for SSL proxying, apparently
|
||||||
|
SSLProxyEngine on
|
||||||
|
|
||||||
# Website configuration
|
# Website configuration
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
@ -23,7 +25,7 @@ SSLStrictSNIVHostCheck off
|
|||||||
</Directory>
|
</Directory>
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
ProxyRequests Off
|
ProxyRequests Off
|
||||||
ProxyPass / https://127.0.0.1:3000/ nocanon
|
ProxyPass / http://127.0.0.1:3000/ nocanon retry=1
|
||||||
ProxyPassReverse / https://127.0.0.1:3000/
|
ProxyPassReverse / https://127.0.0.1:3000/
|
||||||
|
|
||||||
RequestHeader set X_FORWARDED_PROTO 'https'
|
RequestHeader set X_FORWARDED_PROTO 'https'
|
||||||
|
Loading…
Reference in New Issue
Block a user