authentik (still in podman)
This commit is contained in:
parent
9d661deba1
commit
bcce14ea82
1 changed files with 13 additions and 0 deletions
|
|
@ -141,6 +141,19 @@ in {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."~".proxyPass = "http://localhost:${toString config.services.vaultwarden.config.ROCKET_PORT}";
|
locations."~".proxyPass = "http://localhost:${toString config.services.vaultwarden.config.ROCKET_PORT}";
|
||||||
};
|
};
|
||||||
|
"auth.tristans.cloud" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."~" = {
|
||||||
|
proxyPass = "http://localhost:8084";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
extraConfig = ''
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
security.acme = {
|
security.acme = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue