Need to escape the dollar signs to prevent BASH from thinking they are vars.
This commit is contained in:
parent
bbaa9fc6f1
commit
0dd9c19bca
@ -35,14 +35,14 @@ server {
|
|||||||
location / {
|
location / {
|
||||||
index index.php;
|
index index.php;
|
||||||
# For the Nice URLs in Shimmie.
|
# For the Nice URLs in Shimmie.
|
||||||
if (!-e $request_filename) {
|
if (!-e \$request_filename) {
|
||||||
rewrite ^(.*)\$ /index.php?q=\$1 last;
|
rewrite ^(.*)\$ /index.php?q=\$1 last;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ \.php\$ {
|
location ~ \.php\$ {
|
||||||
try_files $uri =404;
|
try_files \$uri =404;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
fastcgi_pass 127.0.0.1:9000;
|
fastcgi_pass 127.0.0.1:9000;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user