minigame 4 colour question

This commit is contained in:
2026-04-27 07:45:41 +00:00
parent 9745d91016
commit 0804411851
-10
View File
@@ -63,16 +63,6 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
# ชื่อไฟล์ .php อยู่ใต้ /Game/ ไม่ใช่ /Game/api/ — fastcgi จะหา $document_root/Game/... ผิดที่ (ไฟล์จริงใน Game/public/) → ส่งไป Node แทน
location = /Game/api-quiz-carry-from-disk.php {
client_max_body_size 20M;
proxy_pass http://127.0.0.1:3001;
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 ~ ^/Game/(?!socket\.io/)(.+\.(html|js))$ {
alias /var/www/html/Game/public/$1;
add_header Cache-Control "no-store, no-cache, must-revalidate";