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" = {
|
||||
owner = "nginx";
|
||||
group = "nginx";
|
||||
sopsFile = ./secrets/common.yaml;
|
||||
};
|
||||
"snakeoil_cert/private" = {
|
||||
owner = "nginx";
|
||||
group = "nginx";
|
||||
sopsFile = ./secrets/common.yaml;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -16,12 +16,6 @@
|
|||
recommendedProxySettings = true;
|
||||
recommendedOptimisation = 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 ];
|
||||
|
|
Loading…
Reference in New Issue