Files
Web_BLS_ProjectConsole/docs/nginx-deployment.conf

31 lines
744 B
Plaintext
Raw Normal View History

server {
listen 19199;
server_name blv-rd.tech;
root /var/www/bls_project_console;
index index.html;
client_max_body_size 100M;
location /api/ {
proxy_pass http://host.docker.internal:19070;
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 60s;
proxy_send_timeout 60s;
proxy_read_timeout 300s;
}
location / {
try_files $uri $uri/ /index.html;
}
access_log /var/log/nginx-custom/access.log;
error_log /var/log/nginx-custom/error.log warn;
}