summaryrefslogtreecommitdiff
path: root/host/software
diff options
context:
space:
mode:
Diffstat (limited to 'host/software')
-rw-r--r--host/software/server/website.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/host/software/server/website.nix b/host/software/server/website.nix
index 2e2b9e3..8f5662f 100644
--- a/host/software/server/website.nix
+++ b/host/software/server/website.nix
@@ -23,6 +23,7 @@
proxy = target: {
proxyPass = target;
extraConfig = ''
+ expires off;
proxy_set_header Host code.kummerlaender.eu;
'';
};
@@ -30,7 +31,11 @@
"kummerlaender.eu" = website "overview";
"blog.kummerlaender.eu" = website "blog";
"tree.kummerlaender.eu" = website "tree";
- "static.kummerlaender.eu" = website "static";
+ "static.kummerlaender.eu" = website "static" // {
+ extraConfig = ''
+ add_header Access-Control-Allow-Origin *;
+ '';
+ };
"pkgs.kummerlaender.eu" = default {
"/".root = "/home/public/pkgs/result";