modified: serv_nginx/nginx/nginx-ssl.conf
set /api/ slech for both side location for rest_api
This commit is contained in:
@@ -42,8 +42,8 @@ server {
|
||||
}
|
||||
|
||||
# New location for REST API
|
||||
location /api {
|
||||
proxy_pass http://api/serv_golang_rest_api:8080;
|
||||
location /api/ {
|
||||
proxy_pass http://serv_golang_rest_api:8080;
|
||||
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