Fixing nginx config.

- Fixes #247
pull/722/head
Dessalines 2019-08-29 11:40:23 -07:00
parent 4a2adfc765
commit f474904a46
1 changed files with 1 additions and 1 deletions

View File

@ -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;