Done
This commit is contained in:
14
deploy/nginx/firewall.conf
Normal file
14
deploy/nginx/firewall.conf
Normal file
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user