Compare commits
4 Commits
b4437d4e44
...
e4652a0c94
Author | SHA1 | Date |
---|---|---|
Oystein Kristoffer Tveit | e4652a0c94 | |
Oystein Kristoffer Tveit | d54e550b21 | |
Oystein Kristoffer Tveit | b86bfcfcd9 | |
Oystein Kristoffer Tveit | b87d9cc86a |
2
base.nix
2
base.nix
|
@ -93,12 +93,10 @@
|
||||||
"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,6 +16,12 @@
|
||||||
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