traefik
This commit is contained in:
parent
f9c77585d5
commit
74778d4c2b
1 changed files with 13 additions and 3 deletions
|
|
@ -37,10 +37,20 @@
|
|||
# api.insecure = true;
|
||||
};
|
||||
|
||||
dynamicConfigOptions = {
|
||||
http.routers = {};
|
||||
http.services = {};
|
||||
dynamicConfigOptions = {
|
||||
http = {
|
||||
routers.myapp = {
|
||||
rule = "Host(`v2.kittykat.poggerer.xyz`)";
|
||||
entryPoints = [ "websecure" ];
|
||||
service = "v2";
|
||||
tls.certResolver = "letsencrypt";
|
||||
};
|
||||
|
||||
services.myapp.loadBalancer.servers = [
|
||||
{ url = "http://127.0.0.1:2053"; }
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue