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 = ''
|
extraConfig = ''
|
||||||
add_header Strict-Transport-Security max-age=31536000;
|
add_header Strict-Transport-Security max-age=31536000;
|
||||||
'';
|
'';
|
||||||
|
kTLS = true;
|
||||||
locations = {
|
locations = {
|
||||||
"/".return = "404";
|
"/".return = "404";
|
||||||
"/dns-query".extraConfig = ''
|
"/dns-query".extraConfig = ''
|
||||||
|
@ -171,6 +171,7 @@ in
|
|||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
acmeRoot = null;
|
acmeRoot = null;
|
||||||
|
kTLS = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://localhost:${toString config.services.gitea.settings.server.HTTP_PORT}";
|
proxyPass = "http://localhost:${toString config.services.gitea.settings.server.HTTP_PORT}";
|
||||||
};
|
};
|
||||||
@ -213,8 +214,6 @@ in
|
|||||||
in
|
in
|
||||||
[
|
[
|
||||||
"L+ ${giteaCustomDir}/templates/home.tmpl - - - - ${../../files/gitea/home.tmpl}"
|
"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.
|
# Add the following files to be backed up.
|
||||||
|
@ -44,6 +44,7 @@ in
|
|||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
acmeRoot = null;
|
acmeRoot = null;
|
||||||
|
kTLS = true;
|
||||||
locations."/".proxyPass = "https://${config.services.kanidm.serverSettings.bindaddress}";
|
locations."/".proxyPass = "https://${config.services.kanidm.serverSettings.bindaddress}";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -132,6 +132,7 @@ in
|
|||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
acmeRoot = null;
|
acmeRoot = null;
|
||||||
|
kTLS = true;
|
||||||
locations =
|
locations =
|
||||||
let
|
let
|
||||||
address = config.services.vaultwarden.config.ROCKET_ADDRESS;
|
address = config.services.vaultwarden.config.ROCKET_ADDRESS;
|
||||||
|
Loading…
Reference in New Issue
Block a user