1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

remove extra /

This commit is contained in:
Jerry Vonau 2021-05-14 19:40:04 -05:00
parent 787f12c468
commit 743db0a11f

View file

@ -2,11 +2,11 @@ location = {{ lokole_url }}/favicon.ico {
alias /library/lokole/venv/lib/python{{ python_ver }}/site-packages/opwen_email_client/webapp/static/favicon.ico; alias /library/lokole/venv/lib/python{{ python_ver }}/site-packages/opwen_email_client/webapp/static/favicon.ico;
} }
location ~ ^/{{ lokole_url }}/static/(.*)$ { location ~ ^{{ lokole_url }}/static/(.*)$ {
alias /library/lokole/venv/lib/python{{ python_ver }}/site-packages/opwen_email_client/webapp/static/$1; alias /library/lokole/venv/lib/python{{ python_ver }}/site-packages/opwen_email_client/webapp/static/$1;
} }
location /{{ lokole_url }}/ { location {{ lokole_url }}/ {
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;