server { listen 80 default_server; listen [::]:80 default_server; server_name _; client_max_body_size 500m; # Optional example. The installer does not install or modify Nginx. # Replace 18080 with the KAIDI_APP_PORT selected during installation. location / { proxy_pass http://127.0.0.1:18080; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_connect_timeout 10s; proxy_read_timeout 120s; } }