config.services.nginx.virtualHosts.<name>.enableSSL is deprecated
This commit is contained in:
parent
e2fcf2d39e
commit
a0a49e1e7e
|
@ -92,17 +92,13 @@
|
||||||
virtualHosts."prometheus.serv.zentralwerk.org" = {
|
virtualHosts."prometheus.serv.zentralwerk.org" = {
|
||||||
# serverAliases = [ "registry.serv.zentralwerk.org" ];
|
# serverAliases = [ "registry.serv.zentralwerk.org" ];
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
enableSSL = true;
|
onlySSL = true;
|
||||||
# forceSSL = true;
|
|
||||||
locations.".well-known/acme-challenge/" = {
|
locations.".well-known/acme-challenge/" = {
|
||||||
root = "/var/lib/acme/acme-challenge/.well-known/acme-challenge/";
|
root = "/var/lib/acme/acme-challenge/.well-known/acme-challenge/";
|
||||||
};
|
};
|
||||||
locations."/" = {
|
locations."/" = { proxyPass = "http://localhost:9090"; };
|
||||||
proxyPass = "http://localhost:9090";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
system.stateVersion = "19.03"; # Did you read the comment?
|
system.stateVersion = "19.03"; # Did you read the comment?
|
||||||
|
|
||||||
|
|
|
@ -63,14 +63,11 @@
|
||||||
services.nginx.virtualHosts."registry.hq.c3d2.de" = {
|
services.nginx.virtualHosts."registry.hq.c3d2.de" = {
|
||||||
# serverAliases = [ "registry.serv.zentralwerk.org" ];
|
# serverAliases = [ "registry.serv.zentralwerk.org" ];
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
enableSSL = true;
|
onlySSL = true;
|
||||||
# forceSSL = true;
|
|
||||||
locations.".well-known/acme-challenge/" = {
|
locations.".well-known/acme-challenge/" = {
|
||||||
root = "/var/lib/acme/acme-challenge/.well-known/acme-challenge/";
|
root = "/var/lib/acme/acme-challenge/.well-known/acme-challenge/";
|
||||||
};
|
};
|
||||||
locations."/" = {
|
locations."/" = { proxyPass = "http://localhost:5000"; };
|
||||||
proxyPass = "http://localhost:5000";
|
|
||||||
};
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
client_max_body_size 4096M;
|
client_max_body_size 4096M;
|
||||||
gzip off;
|
gzip off;
|
||||||
|
|
Loading…
Reference in New Issue