remove unused things
This commit is contained in:
54
nginx/etc/nginx/conf.d/global.conf
Normal file
54
nginx/etc/nginx/conf.d/global.conf
Normal file
@@ -0,0 +1,54 @@
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
location / { # lighttpd
|
||||
proxy_pass http://host:80;
|
||||
include /etc/nginx/conf/proxy.conf;
|
||||
}
|
||||
location /filebrowser {
|
||||
proxy_pass http://host:8001;
|
||||
include /etc/nginx/conf/proxy.conf;
|
||||
}
|
||||
location /seafile {
|
||||
proxy_pass http://host:8000;
|
||||
include /etc/nginx/conf/proxy.conf;
|
||||
}
|
||||
location /seafhttp {
|
||||
rewrite ^/seafhttp(.*)$ $1 break;
|
||||
proxy_pass http://host:8082;
|
||||
client_max_body_size 0;
|
||||
}
|
||||
location /seafmedia {
|
||||
rewrite ^/seafmedia(.*)$ $1 break;
|
||||
root /host/var/www/seafile;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
server { # homeassistant
|
||||
listen 80;
|
||||
server_name ha.herderin.veenboer.xyz;
|
||||
location / {
|
||||
proxy_pass http://host:8123;
|
||||
include /etc/nginx/conf/proxy.conf;
|
||||
}
|
||||
}
|
||||
|
||||
server { # esphome
|
||||
# listen 443 ssl;
|
||||
listen 80;
|
||||
server_name esp.herderin.veenboer.xyz;
|
||||
location / {
|
||||
proxy_pass http://host:6052;
|
||||
include /etc/nginx/conf/proxy.conf;
|
||||
}
|
||||
}
|
||||
|
||||
server { # grafana
|
||||
listen 80;
|
||||
server_name grafana.herderin.veenboer.xyz;
|
||||
location / {
|
||||
proxy_pass http://host:3333;
|
||||
include /etc/nginx/conf/proxy.conf;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user