Setup/Webserver: Fix nginx static file resolve issue

refs #6738
This commit is contained in:
Marius Hein 2014-11-07 12:02:48 +01:00
parent f07cbcc107
commit 8583be040c

View File

@ -25,10 +25,10 @@ location ~ ^{webPath}/index\.php(.*)$ {
fastcgi_param SCRIPT_FILENAME {publicPath}/index.php; fastcgi_param SCRIPT_FILENAME {publicPath}/index.php;
} }
location ~ ^{webPath} { location ~ ^{webPath}(.+)? {
alias {publicPath}; alias {publicPath};
index index.php; index index.php;
try_files $uri $uri/ {webPath}/index.php$is_args$args; try_files $1 $uri $uri/ {webPath}/index.php$is_args$args;
} }
EOD; EOD;
} }