Does anyone have set up the ich777/torbrowser behind a nginx reverse proxy?
Would be great if someone could share the config.
At the moment mine looks like this:
location /torbrowser {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
include /config/nginx/authelia-location.conf;
proxy_pass http://192.168.178.229:8080/;
#proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
}
VNC itself works but I get "Failed to connect to server".
In the Chrome Dev-Console I can see the following:
websock.js:231 WebSocket connection to 'wss://mydomain.tld/websockify' failed:
open @ websock.js:231
rfb.js:686 WebSocket on-error event
_socketError @ rfb.js:686
rfb.js:941 Failed when connecting: Connection closed (code: 1006)
_fail @ rfb.js:941
6The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
websock.js:231 WebSocket connection to 'wss://mydomain.tld/websockify' failed:
open @ websock.js:231
_connect @ rfb.js:551
_updateConnectionState @ rfb.js:903
RFB @ rfb.js:279
connect @ ui.js:1044
rfb.js:686 WebSocket on-error event
_socketError @ rfb.js:686
_websocket.onerror @ websock.js:268
error (async)
attach @ websock.js:266
open @ websock.js:231
_connect @ rfb.js:551
_updateConnectionState @ rfb.js:903
RFB @ rfb.js:279
connect @ ui.js:1044
rfb.js:941 Failed when connecting: Connection closed (code: 1006)
THX in advance! :-)