nginx: streamline all forceSSL and enableACME directives in one file

This commit is contained in:
Rouven Seifert 2024-03-25 19:34:47 +01:00
parent bedee4f90c
commit 4f1f88a779
Signed by untrusted user: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
32 changed files with 2 additions and 91 deletions

View file

@ -30,8 +30,6 @@ in
};
services.nginx = {
virtualHosts."${domain}" = {
addSSL = true;
enableACME = true;
root = "/srv/web/wiki.ese";
extraConfig = ''
index index.php;

View file

@ -102,8 +102,6 @@ in
nginx = {
recommendedProxySettings = true;
virtualHosts.${domain} = {
enableACME = true;
forceSSL = true;
locations."/robots.txt" = {
extraConfig = ''
add_header Content-Type text/plain;

View file

@ -30,8 +30,6 @@ in
};
services.nginx = {
virtualHosts."${domain}" = {
addSSL = true;
enableACME = true;
root = "/srv/web/vernetzung";
extraConfig = ''
index index.php;