Fixing issue with wrongly routed rss feeds.

- Fixes #352
This commit is contained in:
Dessalines 2019-12-01 19:47:17 -08:00
parent c2303db1aa
commit 0e334c0546

View file

@ -50,7 +50,7 @@ server {
client_max_body_size 50M; client_max_body_size 50M;
location / { 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_pass http://0.0.0.0:8536;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host; proxy_set_header Host $host;