fix: change Agent path

This commit is contained in:
2026-04-05 00:26:19 -05:00
parent fe74b49868
commit a95063ea9d

View File

@@ -17,7 +17,7 @@ server {
proxy_set_header X-Forwarded-Host ${VARIABLE}server_name;
}
location /naliia_agent/api/ {
location /agent/api/ {
proxy_pass http://bot:8010/; # "bot" is the service name of another Docker container on port 8010
proxy_read_timeout 500;
proxy_connect_timeout 500;
@@ -26,5 +26,6 @@ server {
proxy_set_header X-Real-IP ${VARIABLE}remote_addr;
proxy_set_header X-Forwarded-For ${VARIABLE}proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host ${VARIABLE}server_name;
proxy_set_header X-Forwarded-Prefix /agent/api;
}
}