chatgptfirewall / nginx.conf
Mats Klein
fix nginx config
385b1f1
server {
listen 7860;
server_name _;
location / {
root /usr/share/nginx/html;
try_files $uri $uri/ /index.html;
}
location /api {
proxy_pass http://185.112.181.192:8000/api;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_read_timeout 3600;
}
}