Trying to Connect to VMs 8080 Port
This commit is contained in:
parent
ec7839fa36
commit
e8e469f2a9
2 changed files with 13 additions and 2 deletions
|
@ -20,9 +20,9 @@ in
|
|||
services.traefik.dynamicConfigOptions = {
|
||||
http.routers.audiobookshelf.entrypoints = "websecure";
|
||||
http.routers.audiobookshelf.tls = true;
|
||||
http.routers.audiobookshelf.rule = "Host(`audiobookshelf.U3ncSovm`)";
|
||||
http.routers.audiobookshelf.rule = "Host(`audiobookshelf.localhost`)";
|
||||
http.routers.audiobookshelf.service = "audiobookshelf";
|
||||
services.audiobookshelf.loadBalancer.servers = [ { url = "http://localhost:63001"; } ];
|
||||
services.audiobookshelf.loadBalancer.servers = [ { url = "http://localhost:63001/"; } ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -17,6 +17,17 @@ in
|
|||
staticConfigOptions = {
|
||||
entryPoints.web.address = ":80";
|
||||
entryPoints.websecure.address = ":443";
|
||||
api = {
|
||||
insecure = true;
|
||||
};
|
||||
};
|
||||
dynamicConfigOptions = {
|
||||
# http.routers.dashboard.entrypoints = "websecure";
|
||||
# http.routers.dashboard.tls = true;
|
||||
# http.routers.dashboard.rule = "Host(`traefik.localhost`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))";
|
||||
# http.routers.dashboard.service = "api@internal";
|
||||
# http.routers.dashboard.middlewares = "auth";
|
||||
# http.middlewares.auth.basicauth.users = "master:\$\$2y\$\$05\$\$YWM0ZknINeHpJsNqqsd91eF/yl.S8t12TPQsDmf92glrjGW9Y1RvO";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue