This commit is contained in:
xuyue committed 2026-05-26 07:37:05 -06:00
1 parent 759593a224
commit 8731012f47
8 files changed
+570 -927

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ location /public {
# WebSocket 支持
location /ws/ {
proxy_pass http://websocket;
proxy_pass http://backend;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
+1 -6
View File
@@ -38,12 +38,7 @@ http {
keepalive 32;
}
upstream websocket {
server 127.0.0.1:8001;
keepalive 32;
}
add_header X-XSS-Protection "1; mode=block" always;
add_header X-XSS-Protection "1; mode=block" always;
add_header X-Frame-Options SAMEORIGIN always;
add_header X-Content-Type-Options nosniff always;