summaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-12-01 19:47:17 -0800
committerDessalines <tyhou13@gmx.com>2019-12-01 19:47:17 -0800
commit32c1d56bc75c6457da2c056ea9a9aa482786a88b (patch)
tree0a5d1130585ae238fb3e3b12e3cb1d836eea2b1f /ansible
parent52ea7a32db439f9d9b0785ee132d312aa386b33e (diff)
Fixing issue with wrongly routed rss feeds.
- Fixes #352
Diffstat (limited to 'ansible')
-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 e39f1e1c..d3aec66d 100644
--- a/ansible/templates/nginx.conf
+++ b/ansible/templates/nginx.conf
@@ -50,7 +50,7 @@ server {
client_max_body_size 50M;
location / {
- rewrite (\/(user|u\/|inbox|post|community|c\/|create_post|create_community|login|search|setup|sponsors|communities|modlog|home|password_change)+) /static/index.html break;
+ rewrite (\/(user|(?<!feeds\/)u\/|inbox|post|community|(?<!feeds\/)c\/|create_post|create_community|login|search|setup|sponsors|communities|modlog|home|password_change)+) /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;