summaryrefslogtreecommitdiffstats
path: root/ansible/templates
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-09-02 10:37:30 -0700
committerDessalines <tyhou13@gmx.com>2019-09-02 10:37:30 -0700
commit951a3d061654a62a1103c2b9fe694456e1e36dfb (patch)
tree712f379f8b7b136e43ebf62c8a7cf964e984de66 /ansible/templates
parent449586972a004ae4f9bdae18edb1684392d512c3 (diff)
Some fixes for ansible.
- Also updating the nginx template - Updating deploy.sh
Diffstat (limited to 'ansible/templates')
-rw-r--r--ansible/templates/nginx.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/templates/nginx.conf b/ansible/templates/nginx.conf
index 74fbcda9..e9fef181 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\/|create_post|create_community|login|search|setup|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;