modified: serv_nginx/docker-compose.yml

modified:   serv_nginx/nginx/nginx-ssl.conf
add restpia network into nginx and set proxy for api the
serv_golang_rest_api:8080
This commit is contained in:
2025-10-05 07:44:26 +05:00
parent 2342bc98f9
commit fd329f120d
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ server {
# New location for REST API
location /api {
proxy_pass http://host.docker.internal:8888;
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;