diff --git a/travis/default-site.tpl.conf b/travis/default-site.tpl.conf index c0bb9b1f..b823a6c4 100644 --- a/travis/default-site.tpl.conf +++ b/travis/default-site.tpl.conf @@ -7,13 +7,13 @@ server { access_log /tmp/access.log; error_log /tmp/error.log; - location ~* "\.php(/|$)" { - include fastcgi.conf; - fastcgi_pass php; - } - location / { # First attempt to serve request as file, then as directory, then fall back to index.php. try_files $uri $uri/ /index.php$is_args$args; } + + location ~* "\.php(/|$)" { + include fastcgi.conf; + fastcgi_pass php; + } }