modified: serv_nginx/nginx/nginx-ssl.conf
delte / from /api/
This commit is contained in:
@@ -42,8 +42,8 @@ server {
|
||||
}
|
||||
|
||||
# New location for REST API
|
||||
location /api/ {
|
||||
proxy_pass http://localhost:8888/;
|
||||
location /api {
|
||||
proxy_pass http://0.0.0.0 :8888/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
Reference in New Issue
Block a user