Need to escape the dollar signs to prevent BASH from thinking they are vars.

This commit is contained in:
jgen 2014-02-19 18:49:56 -05:00
parent bbaa9fc6f1
commit 0dd9c19bca

View file

@ -35,14 +35,14 @@ server {
location / {
index index.php;
# For the Nice URLs in Shimmie.
if (!-e $request_filename) {
if (!-e \$request_filename) {
rewrite ^(.*)\$ /index.php?q=\$1 last;
break;
}
}
location ~ \.php\$ {
try_files $uri =404;
try_files \$uri =404;
fastcgi_index index.php;
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;