Files
firegex-traffic-viewer/firewall/config/nginx.conf
2022-06-27 09:30:48 +02:00

28 lines
455 B
Nginx Configuration File
Executable File

worker_processes 5; ## Default: 1
pid /var/run/nginx.pid;
user nobody nogroup;
events {
worker_connections 1024;
}
http{
server {
listen ${NGINX_PORT};
server_name _;
root /execute/frontend/;
location / {
try_files $uri /index.html;
}
location /api/ {
include proxy_params;
proxy_pass http://127.0.0.1:8080;
}
}
}