From 30535ccb67e02fb2713bce58c43c985abe160135 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 29 Aug 2019 11:40:23 -0700 Subject: [PATCH] Fixing nginx config. - Fixes #247 --- ansible/templates/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/templates/nginx.conf b/ansible/templates/nginx.conf index 21560b5f5..74fbcda97 100644 --- a/ansible/templates/nginx.conf +++ b/ansible/templates/nginx.conf @@ -47,7 +47,7 @@ server { add_header X-XSS-Protection "1; mode=block"; location / { - rewrite (\/(user|u|inbox|post|community|c|login|search|sponsors|communities|modlog|home)+) /static/index.html break; + rewrite (\/(user|u\/|inbox|post|community|c\/|login|search|sponsors|communities|modlog|home)+) /static/index.html break; proxy_pass http://0.0.0.0:8536; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host;