minigame 4 colour question
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user