Initial commit
This commit is contained in:
38
rootfs/etc/nginx/conf.d/default.conf
Normal file
38
rootfs/etc/nginx/conf.d/default.conf
Normal file
@ -0,0 +1,38 @@
|
||||
# Healthcheck Host which proxies to the Manager,
|
||||
# thus the healthcheck ensures both services are running
|
||||
server {
|
||||
listen 9876 default;
|
||||
server_name localhost;
|
||||
|
||||
access_log /config/logs/manager.log proxy;
|
||||
|
||||
set $server 127.0.0.1;
|
||||
set $port 81;
|
||||
|
||||
include conf.d/include/block-exploits.conf;
|
||||
|
||||
location /health {
|
||||
access_log off;
|
||||
include conf.d/include/proxy.conf;
|
||||
}
|
||||
|
||||
location / {
|
||||
return 404;
|
||||
}
|
||||
}
|
||||
|
||||
# Default 80 Host, which shows a "You are not configured" page
|
||||
server {
|
||||
listen 80 default;
|
||||
server_name localhost;
|
||||
|
||||
access_log /config/logs/default.log proxy;
|
||||
|
||||
include conf.d/include/assets.conf;
|
||||
include conf.d/include/block-exploits.conf;
|
||||
|
||||
location / {
|
||||
index index.html;
|
||||
root /var/www/html;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user