2021-08-24 01:12:15 +00:00
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
2021-11-10 17:20:19 +00:00
|
|
|
server_name desk.exozy.me;
|
2021-08-24 01:12:15 +00:00
|
|
|
|
2022-01-04 15:11:56 +00:00
|
|
|
include conf.d/ssl;
|
2021-08-24 01:12:15 +00:00
|
|
|
|
|
|
|
location / {
|
2021-12-24 03:07:45 +00:00
|
|
|
proxy_pass http://localhost:4080/guacamole/;
|
2021-08-24 01:12:15 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2021-11-10 17:20:19 +00:00
|
|
|
|
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
2021-11-25 00:06:06 +00:00
|
|
|
server_name 97.88.196.36;
|
2021-11-10 17:20:19 +00:00
|
|
|
|
2022-01-04 15:11:56 +00:00
|
|
|
include conf.d/ssl;
|
2021-11-10 17:20:19 +00:00
|
|
|
|
|
|
|
auth_basic "This is a test";
|
|
|
|
auth_basic_user_file /etc/nginx/.htpasswd;
|
|
|
|
|
|
|
|
location / {
|
2021-12-24 03:07:45 +00:00
|
|
|
proxy_pass http://localhost:4080/guacamole/;
|
2021-11-10 17:20:19 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|