summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/nginx/gum.krebsco.de.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-12-13 01:37:36 +0100
committermakefu <github@syntax-fehler.de>2018-12-13 01:37:36 +0100
commit0e41f6f64ef672fbccdfb77158bfa46f8ca74991 (patch)
tree23be5a28265a6c9fda7e48ad3c2d861406dd278d /makefu/2configs/nginx/gum.krebsco.de.nix
parent5b94458eb725b5e319220c0571ddc504559d25ef (diff)
ma gum.krebsco.de: init config
Diffstat (limited to 'makefu/2configs/nginx/gum.krebsco.de.nix')
-rw-r--r--makefu/2configs/nginx/gum.krebsco.de.nix21
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;
+ # '';
+ };
+ };
+ };
+}