fix: Electron build problems

This commit is contained in:
LukeGus
2025-11-02 23:11:04 -06:00
parent 5dae1feca8
commit 2239a7f54a
9 changed files with 70 additions and 9 deletions

View File

@@ -103,6 +103,15 @@ http {
proxy_read_timeout 300s;
}
location ~ ^/snippets(/.*)?$ {
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;