Browse Source

fixing nginx for agent

master
Mohsen Taba 4 months ago
parent
commit
85d79518bc
  1. 2
      nginx/dovodi.conf

2
nginx/dovodi.conf

@ -18,7 +18,7 @@ server {
# Add this inside the 'server' block of the existing config
location /agent/ {
proxy_pass http://88.99.212.243:8098; # The port of your FastAPI Agent
proxy_pass http://88.99.212.243:8098/; # The port of your FastAPI Agent
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

Loading…
Cancel
Save