Files
hassio-addons/guacamole/rootfs/etc/nginx/servers/ingress.conf
Marco Lusini ce80bbeaf1 Add REMOTE_USER Header for auth-header authentication to ingress.conf
With this change, auth-header authentication works out of the box, using guacadin user.
Solves https://github.com/alexbelgium/hassio-addons/issues/1304
2025-09-01 12:26:17 +02:00

20 lines
570 B
Plaintext

server {
listen %%interface%%:%%port%% default_server;
include /etc/nginx/includes/server_params.conf;
include /etc/nginx/includes/proxy_params.conf;
client_max_body_size 0;
server_name guacamole.*;
location / {
add_header Access-Control-Allow-Origin *;
proxy_pass http://127.0.0.1:8080;
proxy_buffering off;
proxy_read_timeout 30;
proxy_set_header Connection "Upgrade";
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Host $host;
proxy_set_header REMOTE_USER guacadmin;
}
}