Files
opt/nginx/etc/nginx/conf.d/global.conf
2024-11-27 08:44:09 +01:00

51 lines
1.0 KiB
Plaintext

server {
listen 80;
location / {
# lighttpd
proxy_pass http://host:80;
include /etc/nginx/conf/proxy.conf;
}
}
server {
# test
listen 80;
server_name test.rik.veenboer.xyz;
location / {
proxy_pass http://host:12345;
include /etc/nginx/conf/proxy.conf;
include /etc/nginx/conf/headers.conf;
}
include /etc/nginx/conf/vouch.conf;
}
server {
# vouch
listen 80;
server_name vouch.rik.veenboer.xyz;
location / {
proxy_pass http://host:9090;
include /etc/nginx/conf/proxy.conf;
}
}
server {
# seafile
listen 80;
server_name seafile.rik.veenboer.xyz;
location / {
proxy_pass http://host:8100;
include /etc/nginx/conf/proxy.conf;
}
location /seafhttp {
rewrite ^/seafhttp(.*)$ $1 break;
proxy_pass http://host:8182;
client_max_body_size 0;
}
location /seafdav {
proxy_pass http://host:8180;
include /etc/nginx/conf/proxy.conf;
}
}