mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
With this change, auth-header authentication works out of the box, using guacadin user. Solves https://github.com/alexbelgium/hassio-addons/issues/1304
20 lines
570 B
Plaintext
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;
|
|
}
|
|
}
|
|
|