firewall-system/deploy/nginx/firewall.conf
2025-03-18 07:43:46 +08:00

14 lines
288 B
Plaintext

server {
listen 80;
server_name firewall.example.com;
location /api {
proxy_pass http://127.0.0.1:8080;
proxy_set_header X-Real-IP $remote_addr;
}
location / {
root /var/www/firewall-frontend;
try_files $uri $uri/ /index.html;
}
}