Update routes and homepage auth.

This commit is contained in:
LukeGus
2025-07-28 22:47:52 -05:00
parent 6eff103cae
commit b58b6e729c
2 changed files with 19 additions and 3 deletions

View File

@@ -67,6 +67,15 @@ http {
proxy_set_header X-Forwarded-Proto $scheme;
}
location ~ ^/ssh/config_editor/(recent|pinned|shortcuts) {
proxy_pass http://127.0.0.1:8081;
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;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;