Compare commits
3 Commits
e4652a0c94
...
b4437d4e44
Author | SHA1 | Date |
---|---|---|
Oystein Kristoffer Tveit | b4437d4e44 | |
Oystein Kristoffer Tveit | eb44472e64 | |
Oystein Kristoffer Tveit | a51023de32 |
2
base.nix
2
base.nix
|
@ -93,10 +93,12 @@
|
||||||
"snakeoil_cert/public" = {
|
"snakeoil_cert/public" = {
|
||||||
owner = "nginx";
|
owner = "nginx";
|
||||||
group = "nginx";
|
group = "nginx";
|
||||||
|
sopsFile = ./secrets/common.yaml;
|
||||||
};
|
};
|
||||||
"snakeoil_cert/private" = {
|
"snakeoil_cert/private" = {
|
||||||
owner = "nginx";
|
owner = "nginx";
|
||||||
group = "nginx";
|
group = "nginx";
|
||||||
|
sopsFile = ./secrets/common.yaml;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -16,12 +16,6 @@
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
recommendedOptimisation = true;
|
recommendedOptimisation = true;
|
||||||
recommendedGzipSettings = true;
|
recommendedGzipSettings = true;
|
||||||
|
|
||||||
virtualHosts."bekkalokk.pvv.ntnu.no" = {
|
|
||||||
enableACME = true;
|
|
||||||
forceSSL = true;
|
|
||||||
locations."/".return = "301 $scheme://git.pvv.ntnu.no$request_uri";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
|
|
Loading…
Reference in New Issue