504 Gateway Time-out media temple

samueleast nginx-forum at nginx.us
Tue Oct 2 14:56:58 UTC 2012

hi maxim thanks for the reply

i cant find out where these files and variables are on my hosting to edit i
have checked all files in my nginx folder and i cant see those options in
there anywhere.

will there just be a file with 


i tried editing the nginx.conf file to

http {
    include       mime.types;
    default_type  application/octet-stream;

    #log_format  main  '$remote_addr - $remote_user [$time_local] "$request"
    #                  '$status $body_bytes_sent "$http_referer" '
    #                  '"$http_user_agent" "$http_x_forwarded_for"';

    #access_log  /var/log/nginx/access.log  main;

    sendfile        on;
    #tcp_nopush     on;
    #keepalive_timeout  0;
    keepalive_timeout  120;
    #tcp_nodelay        on;

    #gzip  on;
    #gzip_disable "MSIE [1-6]\.(?!.*SV1)";

    server_tokens off;

    server {
     location / {
      fastcgi_read_timeout 900s; # 15 minutes
    include /etc/nginx/conf.d/*.conf;

am i doing this correctly?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,231318,231326#msg-231326

More information about the nginx mailing list