diff options
author | lassulus <lassulus@lassul.us> | 2018-01-28 14:50:37 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-01-28 14:50:37 +0100 |
commit | 044f54b36fa66a72709565ec4a5edcd412ba0198 (patch) | |
tree | bdd9e2b358b29556df69e5ab6c13f932d9f92a28 /makefu/2configs/deployment | |
parent | e55897eb6a195dba6353f79baf7517df99bea379 (diff) | |
parent | 79ac162a9e967993252d910f5a6bb74c810fd0a1 (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/deployment')
-rw-r--r-- | makefu/2configs/deployment/photostore.krebsco.de.nix | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/makefu/2configs/deployment/photostore.krebsco.de.nix b/makefu/2configs/deployment/photostore.krebsco.de.nix index 9e16a384a..ecbca9ea3 100644 --- a/makefu/2configs/deployment/photostore.krebsco.de.nix +++ b/makefu/2configs/deployment/photostore.krebsco.de.nix @@ -26,14 +26,16 @@ in { services.nginx = { enable = mkDefault true; virtualHosts."photostore.krebsco.de" = { - locations = { - "/".extraConfig = '' - uwsgi_pass unix://${wsgi-sock}; - uwsgi_param UWSGI_CHDIR ${workdir}; - uwsgi_param UWSGI_MODULE cuserver.main; - uwsgi_param UWSGI_CALLABLE app; - include ${pkgs.nginx}/conf/uwsgi_params; - ''; + enableACME = true; + forceSSL = true; + locations = { + "/".extraConfig = '' + uwsgi_pass unix://${wsgi-sock}; + uwsgi_param UWSGI_CHDIR ${workdir}; + uwsgi_param UWSGI_MODULE cuserver.main; + uwsgi_param UWSGI_CALLABLE app; + include ${pkgs.nginx}/conf/uwsgi_params; + ''; }; }; }; |