]> Untitled Git - lemmy.git/commitdiff
Fixing issue with wrongly routed rss feeds.
authorDessalines <tyhou13@gmx.com>
Mon, 2 Dec 2019 03:47:17 +0000 (19:47 -0800)
committerDessalines <tyhou13@gmx.com>
Mon, 2 Dec 2019 03:47:17 +0000 (19:47 -0800)
- Fixes #352

ansible/templates/nginx.conf

index e39f1e1c1a44a546f52af5df7d9051c32cd1fabe..d3aec66d9a171293dae341d84a16d12e499612e1 100644 (file)
@@ -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;