remove webdav service
This commit is contained in:
parent
0949722eab
commit
20369668d9
4 changed files with 37 additions and 41 deletions
|
|
@ -103,10 +103,6 @@
|
||||||
name = "RSS";
|
name = "RSS";
|
||||||
url = "https://rss.yanlincs.com";
|
url = "https://rss.yanlincs.com";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
name = "Files";
|
|
||||||
url = "https://files.yanlincs.com";
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
name = "Plex";
|
name = "Plex";
|
||||||
url = "https://plex.yanlincs.com";
|
url = "https://plex.yanlincs.com";
|
||||||
|
|
|
||||||
|
|
@ -17,17 +17,17 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# WebDAV file server
|
# WebDAV file server
|
||||||
files = {
|
# files = {
|
||||||
rule = "Host(`files.${config.networking.hostName}.yanlincs.com`)";
|
# rule = "Host(`files.${config.networking.hostName}.yanlincs.com`)";
|
||||||
entrypoints = "websecure";
|
# entrypoints = "websecure";
|
||||||
service = "files";
|
# service = "files";
|
||||||
tls = {
|
# tls = {
|
||||||
certResolver = "cloudflare";
|
# certResolver = "cloudflare";
|
||||||
domains = [{
|
# domains = [{
|
||||||
main = "*.${config.networking.hostName}.yanlincs.com";
|
# main = "*.${config.networking.hostName}.yanlincs.com";
|
||||||
}];
|
# }];
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
|
@ -40,13 +40,13 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# WebDAV file server
|
# WebDAV file server
|
||||||
files = {
|
# files = {
|
||||||
loadBalancer = {
|
# loadBalancer = {
|
||||||
servers = [{
|
# servers = [{
|
||||||
url = "http://localhost:5009";
|
# url = "http://localhost:5009";
|
||||||
}];
|
# }];
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -204,7 +204,7 @@
|
||||||
|
|
||||||
# WebDAV file server configuration
|
# WebDAV file server configuration
|
||||||
services.webdav-server = {
|
services.webdav-server = {
|
||||||
enable = true;
|
enable = false;
|
||||||
port = 5009;
|
port = 5009;
|
||||||
servePath = "/mnt/storage/Media";
|
servePath = "/mnt/storage/Media";
|
||||||
auth = {
|
auth = {
|
||||||
|
|
|
||||||
|
|
@ -163,17 +163,17 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# WebDAV file server
|
# WebDAV file server
|
||||||
files = {
|
# files = {
|
||||||
rule = "Host(`files.yanlincs.com`)";
|
# rule = "Host(`files.yanlincs.com`)";
|
||||||
entrypoints = "websecure";
|
# entrypoints = "websecure";
|
||||||
service = "files";
|
# service = "files";
|
||||||
tls = {
|
# tls = {
|
||||||
certResolver = "cloudflare";
|
# certResolver = "cloudflare";
|
||||||
domains = [{
|
# domains = [{
|
||||||
main = "*.yanlincs.com";
|
# main = "*.yanlincs.com";
|
||||||
}];
|
# }];
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
# Redirect service
|
# Redirect service
|
||||||
|
|
@ -284,13 +284,13 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# WebDAV file server backend (via WireGuard)
|
# WebDAV file server backend (via WireGuard)
|
||||||
files = {
|
# files = {
|
||||||
loadBalancer = {
|
# loadBalancer = {
|
||||||
servers = [{
|
# servers = [{
|
||||||
url = "http://10.2.2.20:5009";
|
# url = "http://10.2.2.20:5009";
|
||||||
}];
|
# }];
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
middlewares = {
|
middlewares = {
|
||||||
# Redirect middleware
|
# Redirect middleware
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue