Hi,
I have multiple sites using Nginx, only one site got this error.
Yesterday I was developing a new website, everything works great, i shutdown my computer and went to sleep.
The following morning I planned to continue developing but saw that i receive a 504 Gateway Time-out error.
I tested out the other sites and those just works fine.
My Config:
server {
listen 192.168.0.15:80;
server_name ivmp.argonathrpg.eu ivmp.argonathrpg.com;
access_log /home/management.asclub.eu/domains/ivmp.argonathrpg.eu/logs/ivmp.argonathrpg.eu.access.log;
error_log /home/management.asclub.eu/domains/ivmp.argonathrpg.eu/logs/ivmp.argonathrpg.eu.error.log;
root /home/management.asclub.eu/domains/ivmp.argonathrpg.eu/public_html/;
index index.php index.html index.htm;
# serve static files directly
location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico)$ {
access_log off;
expires 30d;
}
if ($request_filename !~* "^(index.php)"){
set $rule_0 1$rule_0;
}
if ($rule_0 = "1"){
rewrite ^/(.*).html$ /index.php?page=$1;
}
location ~ .php$ {
proxy_read_timeout 120;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_intercept_errors on;
include fastcgi_params;
}
}
My website will be a big CMS system. Any ideas how to fix this?
Thanks,
Alexw