ma photostore.krebsco.de: enable ssl
This commit is contained in:
parent
7d30101dd3
commit
a645fb4b9a
@ -26,14 +26,16 @@ in {
|
|||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = mkDefault true;
|
enable = mkDefault true;
|
||||||
virtualHosts."photostore.krebsco.de" = {
|
virtualHosts."photostore.krebsco.de" = {
|
||||||
locations = {
|
enableACME = true;
|
||||||
"/".extraConfig = ''
|
forceSSL = true;
|
||||||
uwsgi_pass unix://${wsgi-sock};
|
locations = {
|
||||||
uwsgi_param UWSGI_CHDIR ${workdir};
|
"/".extraConfig = ''
|
||||||
uwsgi_param UWSGI_MODULE cuserver.main;
|
uwsgi_pass unix://${wsgi-sock};
|
||||||
uwsgi_param UWSGI_CALLABLE app;
|
uwsgi_param UWSGI_CHDIR ${workdir};
|
||||||
include ${pkgs.nginx}/conf/uwsgi_params;
|
uwsgi_param UWSGI_MODULE cuserver.main;
|
||||||
'';
|
uwsgi_param UWSGI_CALLABLE app;
|
||||||
|
include ${pkgs.nginx}/conf/uwsgi_params;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user