move seafile from nginx to caddy
This commit is contained in:
@@ -41,6 +41,7 @@ authentik.rik.veenboer.xyz {
|
||||
X-Custom-Password
|
||||
X-User-Header
|
||||
X-Homeassistant-User
|
||||
X-Seafile-User
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -67,3 +68,16 @@ insecure.rik.veenboer.xyz {
|
||||
reverse_proxy host:12345
|
||||
}
|
||||
}
|
||||
|
||||
seafile.rik.veenboer.xyz {
|
||||
handle {
|
||||
reverse_proxy http://host:8100
|
||||
}
|
||||
|
||||
handle_path /seafhttp* {
|
||||
reverse_proxy http://host:8100
|
||||
}
|
||||
|
||||
handle /seafdav* {
|
||||
reverse_proxy http://host:8180
|
||||
}
|
||||
|
||||
@@ -107,26 +107,6 @@ server {
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
# seafile
|
||||
listen 80;
|
||||
server_name seafile.rik.veenboer.xyz;
|
||||
location / {
|
||||
proxy_pass http://host:8100;
|
||||
include /etc/nginx/conf/proxy.conf;
|
||||
}
|
||||
location /seafhttp {
|
||||
# seafile
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
# grafana
|
||||
listen 80;
|
||||
|
||||
Reference in New Issue
Block a user