diff options
author | lassulus <lassulus@lassul.us> | 2018-12-14 19:24:26 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-12-14 19:24:26 +0100 |
commit | 9a9a6d0a90072890b8946266abff1d98647c52fc (patch) | |
tree | 7b541f19ce2e5455d3ab9e2d546790c60439c07e /makefu/2configs/nginx/gum.krebsco.de.nix | |
parent | a56497f72ce37b08b49e9a1f86f3b8ddad8ad119 (diff) | |
parent | ce60c288e588d8968535399921e6735cc05acef1 (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/nginx/gum.krebsco.de.nix')
-rw-r--r-- | makefu/2configs/nginx/gum.krebsco.de.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/makefu/2configs/nginx/gum.krebsco.de.nix b/makefu/2configs/nginx/gum.krebsco.de.nix new file mode 100644 index 000000000..3e96e6826 --- /dev/null +++ b/makefu/2configs/nginx/gum.krebsco.de.nix @@ -0,0 +1,21 @@ +{ config, lib, pkgs, ... }: + +with import <stockholm/lib>; +let +in { + services.nginx = { + enable = mkDefault true; + virtualHosts."gum.krebsco.de" = { + forceSSL = true; + enableACME = true; + locations."/" = { + # proxyPass = "http://localhost:8000/"; + # extraConfig = '' + # proxy_set_header Host $host; + # proxy_set_header X-Real-IP $remote_addr; + # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + # ''; + }; + }; + }; +} |