nginx-configs/common/guac.conf

15 lines
510 B
Plaintext

add_header Onion-Location http://gc.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
add_header X-I2P-Location http://verny3lihmavvnyavtd2fodz7cjyvp7rckfbbfq2lgofeajlhvxq.b32.i2p$request_uri;
location / {
proxy_pass http://127.0.0.1:8085/guacamole/;
proxy_buffering off;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
}
if ($badagent) {
return 403;
}