Uptime-Formation / vnc_server_spawner

Other
2 stars 1 forks source link

Configure reverse proxy Nginx w/ WebSockets and confirm it's being used #3

Closed ketsapiwiq closed 4 years ago

ketsapiwiq commented 4 years ago

https://guacamole.apache.org/doc/gug/proxying-guacamole.html#proxying-with-nginx

ketsapiwiq commented 4 years ago

Required conf:

location /guacamole/ {
    proxy_pass http://HOSTNAME:8080/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;
    access_log off;
}