modified: serv_nginx/nginx/nginx-ssl.conf

modified:   yalarba/serv_golang_rest_api/internal/server/server.go
add healcheck points into rest api server on golang for yalarba.ru
This commit is contained in:
2025-10-05 02:50:12 +05:00
parent 28a1078680
commit ec33cf7f2e
2 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ server {
# New location for REST API
location /api/ {
proxy_pass http://localhost:8888/;
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;