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

41 lines
890 B
Plaintext

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;
}
}