save code

This commit is contained in:
Ubuntu
2026-06-14 18:23:08 +08:00
parent 78226ae0b9
commit eaafbc97ea
3 changed files with 324 additions and 54 deletions
+6 -1
View File
@@ -2,11 +2,16 @@ server {
listen 80;
server_name hair.xiangsilian.com;
client_max_body_size 2m;
location / {
proxy_pass http://127.0.0.1:8000;
proxy_pass http://127.0.0.1:8080;
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;
proxy_read_timeout 90s;
proxy_send_timeout 90s;
}
}