Skip to content

Instantly share code, notes, and snippets.

@rynop
Created June 27, 2011 15:14
Show Gist options
  • Save rynop/1049063 to your computer and use it in GitHub Desktop.
Save rynop/1049063 to your computer and use it in GitHub Desktop.
fastcgi_read_timeout 60;
location ^~ /administrator/ {
fastcgi_read_timeout 360;
fastcgi_send_timeout 360;
try_files $uri /index.php?url=$uri&$args;
}
@kolbyjack
Copy link

location ^~ /administrator/ {
try_files $uri @adminfcgi;
}

location @adminfcgi {
rewrite ^ /index.php?url=$uri break;
fastcgi_read_timeout 360;
fastcgi_write_timeout 360;
include fastcgi.conf;
fastcgi_pass php;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment