traefik
This commit is contained in:
parent
a52a5741d3
commit
60f15dca52
1 changed files with 51 additions and 49 deletions
|
|
@ -1,4 +1,5 @@
|
|||
services.traefik = {
|
||||
{
|
||||
services.traefik = {
|
||||
enable = true;
|
||||
|
||||
staticConfigOptions = {
|
||||
|
|
@ -37,7 +38,7 @@ services.traefik = {
|
|||
routers = {
|
||||
xray = {
|
||||
rule = "Host(`v2.kittykat.poggerer.xyz`)";
|
||||
entryPoints = [ "websecure" ];
|
||||
entryPoints = ["websecure"];
|
||||
service = "xray";
|
||||
tls = {
|
||||
certResolver = "letsencrypt";
|
||||
|
|
@ -49,11 +50,12 @@ services.traefik = {
|
|||
xray = {
|
||||
loadBalancer = {
|
||||
servers = [
|
||||
{ url = "http://127.0.0.1:2053"; }
|
||||
{url = "http://127.0.0.1:2053";}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue