Improve mathechor.de deploy
This commit is contained in:
parent
3cde3709da
commit
e65c2b3e57
|
@ -419,11 +419,11 @@
|
|||
"nixpkgs": []
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1677874343,
|
||||
"narHash": "sha256-54yDdis5DAWnpX9/UXKlsoI3on+vR8YbFFbApL7pMg8=",
|
||||
"lastModified": 1678368437,
|
||||
"narHash": "sha256-xK1OBcXSv8XjeifNQ7ZEI6a8HwtnSrGTO4vIWlspr60=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "130ef074ddf1547be26e9914c4f9dc5b3f70a2eb",
|
||||
"revCount": 193,
|
||||
"rev": "99cedc438df0474c7217aee01049e64a1edb3a1e",
|
||||
"revCount": 194,
|
||||
"type": "git",
|
||||
"url": "ssh://git@hera.m-0.eu/config-secrets"
|
||||
},
|
||||
|
|
|
@ -30,5 +30,6 @@ in {
|
|||
"haskell-taskwarrior.run" = mkJob "haskell-taskwarrior";
|
||||
"nix-output-monitor.run" = mkJob "nix-output-monitor";
|
||||
"hochzeitsseite.run" = mkJob "hochzeitsseite";
|
||||
"mathechor.de.run" = mkJob "mathechor.de";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
enableACME = true;
|
||||
locations = {
|
||||
"/" = {
|
||||
root = "/var/www/mathechor/public";
|
||||
root = "/var/cache/gc-links/mathechor.de/public";
|
||||
index = "index.html";
|
||||
extraConfig = "location ~* .(otf)$ {add_header Access-Control-Allow-Origin *;}";
|
||||
};
|
||||
|
@ -24,7 +24,7 @@
|
|||
enableACME = true;
|
||||
locations = {
|
||||
"/" = {
|
||||
root = "/var/www/mathechor/intern";
|
||||
root = "/var/cache/gc-links/mathechor.de/intern";
|
||||
index = "index.html";
|
||||
extraConfig = ''
|
||||
if ($query_string ~ "pw=([A-Za-z]*)") {
|
||||
|
|
Loading…
Reference in a new issue