mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
hosts/plover: add kTLS for various services
This commit is contained in:
parent
4c71c61768
commit
5f5dc2a14e
@ -296,6 +296,7 @@ in
|
||||
extraConfig = ''
|
||||
add_header Strict-Transport-Security max-age=31536000;
|
||||
'';
|
||||
kTLS = true;
|
||||
locations = {
|
||||
"/".return = "404";
|
||||
"/dns-query".extraConfig = ''
|
||||
|
@ -171,6 +171,7 @@ in
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
acmeRoot = null;
|
||||
kTLS = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:${toString config.services.gitea.settings.server.HTTP_PORT}";
|
||||
};
|
||||
@ -213,8 +214,6 @@ in
|
||||
in
|
||||
[
|
||||
"L+ ${giteaCustomDir}/templates/home.tmpl - - - - ${../../files/gitea/home.tmpl}"
|
||||
"L+ ${giteaCustomDir}/public/img/logo.svg - - - - ${../../files/gitea/logo.svg}"
|
||||
"L+ ${giteaCustomDir}/public/img/logo.png - - - - ${../../files/gitea/logo.png}"
|
||||
];
|
||||
|
||||
# Add the following files to be backed up.
|
||||
|
@ -44,6 +44,7 @@ in
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
acmeRoot = null;
|
||||
kTLS = true;
|
||||
locations."/".proxyPass = "https://${config.services.kanidm.serverSettings.bindaddress}";
|
||||
};
|
||||
|
||||
|
@ -132,6 +132,7 @@ in
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
acmeRoot = null;
|
||||
kTLS = true;
|
||||
locations =
|
||||
let
|
||||
address = config.services.vaultwarden.config.ROCKET_ADDRESS;
|
||||
|
Loading…
Reference in New Issue
Block a user