aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-03-11 21:31:50 +0100
committerMario Vavti <mario@mariovavti.com>2015-03-11 21:31:50 +0100
commit115f9a4e4570caf53ee042be9690bb7342ee9e90 (patch)
treefdeaf9f14c63f72b7254ef733d954af22d40b03b /doc
parent0014cf4ff232328c3e3d0993eb8e9893a7c16f54 (diff)
downloadvolse-hubzilla-115f9a4e4570caf53ee042be9690bb7342ee9e90.tar.gz
volse-hubzilla-115f9a4e4570caf53ee042be9690bb7342ee9e90.tar.bz2
volse-hubzilla-115f9a4e4570caf53ee042be9690bb7342ee9e90.zip
update sample-nginx.conf redirect to check for args
Diffstat (limited to 'doc')
-rw-r--r--doc/install/sample-nginx.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/install/sample-nginx.conf b/doc/install/sample-nginx.conf
index f533d8ee0..c1e5663a8 100644
--- a/doc/install/sample-nginx.conf
+++ b/doc/install/sample-nginx.conf
@@ -75,7 +75,10 @@ server {
# rewrite to front controller as default rule
location / {
- rewrite ^/(.*) /index.php?q=$uri&$args last;
+ if ($is_args != "") {
+ rewrite ^/(.*) /index.php?q=$uri&$args last;
+ }
+ rewrite ^/(.*) /index.php?q=$uri last;
}
# make sure webfinger and other well known services aren't blocked