You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a VPS with running Apache2 server. It is used as WebDav server only (with /webdav key). Https is working with Letsencrypt keys those updated using certbot task.
I want to add Shadowsocks/V2Ray in the following way:
WebDav continues to work in the same way
When one tries to browse my server - he will see Google page
Shadowsocks/V2Ray works on /v2qq key
This is my Apache2 config file added to make it possible:
<IfModule mod_ssl.c>
# RewriteEngine On
# RewriteCond %{HTTP:Upgrade} websocket [NC]
# RewriteCond %{HTTP:Connection} upgrade [NC]
# RewriteRule ^/?(.*) "ws://127.0.0.1:8008/$1" [P,L]
#RewriteCond %{HTTP:Upgrade} !=websocket [NC]
#RewriteRule /(.*) http://localhost:8008 [P,L]
SSLProxyEngine On
ProxyRequests Off
# ProxyPreserveHost On
ProxyAddHeaders Off
ProxyErrorOverride On
SSLProxyVerify None
SSLProxyCheckPeerCN Off
SSLProxyCheckPeerName Off
SSLProxyCheckPeerExpire Off
Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains;"
Header always set Content-Security-Policy "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
Header always set X-Robots-Tag "noindex, nofollow"
Header always set X-Content-Type-Options "nosniff"
Header always set X-Xss-Protection "1; mode=block"
ProxyPass "/webdav" !
ProxyPass "/v2qq" "http://127.0.0.1:8008/"
ProxyPassReverse "/v2qq" "http://127.0.0.1:8008/"
ProxyPass "/" "https://www.google.com/"
</IfModule>
I have a VPS with running Apache2 server. It is used as WebDav server only (with /webdav key). Https is working with Letsencrypt keys those updated using certbot task.
I want to add Shadowsocks/V2Ray in the following way:
This is my Apache2 config file added to make it possible:
And this is Shadowsocks config:
Of course v2ray plugin was installed in /usr/local/bin correctly.
According to logs all process started without errors, "Google" and WebDav work both - but Shadowsocks+V2Ray doesn't.
Any idea why?
The text was updated successfully, but these errors were encountered: