fix: Electron security issues and TOTP/None auth issues

This commit is contained in:
LukeGus
2025-11-02 01:19:29 -06:00
parent a52a5217bf
commit 7de387b987
9 changed files with 320 additions and 329 deletions

View File

@@ -45,6 +45,15 @@ http {
log_not_found off;
}
location ~ ^/users/sessions(/.*)?$ {
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 ~ ^/users(/.*)?$ {
proxy_pass http://127.0.0.1:30001;
proxy_http_version 1.1;