mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-30 01:01:07 +00:00
Fixing inbox nginx config due to adding feeds/inbox.
This commit is contained in:
parent
0f0871eb80
commit
eaa5afdf2c
2
ansible/templates/nginx.conf
vendored
2
ansible/templates/nginx.conf
vendored
|
@ -50,7 +50,7 @@ server {
|
|||
client_max_body_size 50M;
|
||||
|
||||
location / {
|
||||
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;
|
||||
rewrite (\/(user|(?<!feeds\/)u\/|(?<!feeds\/)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;
|
||||
|
|
Loading…
Reference in a new issue