fix: small nginx cleanup
This commit is contained in:
parent
449ada5cec
commit
73a9419798
3 changed files with 0 additions and 9 deletions
|
@ -94,10 +94,7 @@ in {
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [80 443];
|
networking.firewall.allowedTCPPorts = [80 443];
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
|
||||||
group = "acme";
|
|
||||||
clientMaxBodySize = "500m";
|
clientMaxBodySize = "500m";
|
||||||
recommendedProxySettings = true;
|
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"${name}.skynet.ie" = {
|
"${name}.skynet.ie" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
|
@ -63,9 +63,6 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
|
||||||
group = "acme";
|
|
||||||
|
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
# main site
|
# main site
|
||||||
"skynet.ie" = {
|
"skynet.ie" = {
|
||||||
|
|
|
@ -94,9 +94,6 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
|
||||||
group = "acme";
|
|
||||||
|
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}" = {
|
"${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
Loading…
Reference in a new issue