commit d4477d2f3a443348878c15005b235a5cb049050b
parent ee390a8ac9a2c5d0bc7cce0b7bbcc7f69bcf4d7e
Author: Florian Dold <florian.dold@gmail.com>
Date: Mon, 21 Nov 2016 18:29:11 +0100
relative locations
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/etc/nginx/sites-enabled/envs.site b/etc/nginx/sites-enabled/envs.site
@@ -16,13 +16,13 @@ server {
uwsgi_pass unix:/home/$user/sockets/landing.uwsgi;
include /etc/nginx/uwsgi_params;
- location /exchange/ {
+ location exchange/ {
proxy_pass http://unix:/home/$user/sockets/exchange.http:/;
proxy_redirect off;
proxy_set_header Host $host;
}
- location /exchange/admin {
+ location exchange/admin {
proxy_pass http://unix:/home/$user/sockets/exchange-admin.http:/;
proxy_redirect off;
proxy_set_header Host $host;