tweaked v1

This commit is contained in:
2026-07-15 22:14:58 -07:00
parent c9d497153f
commit b8850c87a4
23 changed files with 4567 additions and 119 deletions
+27
View File
@@ -0,0 +1,27 @@
server {
listen 80;
listen [::]:80;
server_name danmaku.luoxingci.com;
access_log /var/log/nginx/danmaku.luoxingci.com.access.log;
error_log /var/log/nginx/danmaku.luoxingci.com.error.log;
location / {
proxy_pass http://127.0.0.1:9719;
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;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 3600;
proxy_send_timeout 3600;
proxy_buffering off;
}
}