fix: Unable to delete hosts and add nginx for terminal

This commit is contained in:
LukeGus
2025-11-14 12:59:50 -06:00
parent 8f7331a287
commit 842753aeec
3 changed files with 19 additions and 0 deletions

View File

@@ -112,6 +112,15 @@ http {
proxy_set_header X-Forwarded-Proto $scheme;
}
location ~ ^/terminal(/.*)?$ {
proxy_pass http://127.0.0.1:30001;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location ~ ^/database(/.*)?$ {
client_max_body_size 5G;
client_body_timeout 300s;