diff --git a/docker/nginx.tmpl b/docker/nginx.tmpl index 1f1ed8e..e96e753 100644 --- a/docker/nginx.tmpl +++ b/docker/nginx.tmpl @@ -10,10 +10,10 @@ http { listen ${LISTEN_PORT}; listen [::]:${LISTEN_PORT}; root /usr/share/nginx/html; - location /api { + location /api/ { proxy_pass http://otrecorder/api/; } - location /ws { + location /ws/ { proxy_pass http://otrecorder/ws/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade;