Compare commits
No commits in common. "db996d5cd54f80734769915f89ef2fd9458ebe6e" and "7af1063f1f1a8dac746b8a0348bd053c2e4ddd4e" have entirely different histories.
db996d5cd5
...
7af1063f1f
|
@ -42,41 +42,13 @@
|
|||
forceSSL = true;
|
||||
};
|
||||
};
|
||||
virtualHosts = {
|
||||
"frontend.coace.duckdns.org" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = "/vault/backups/frontend/inetpub/wwwroot";
|
||||
locations = {
|
||||
"/few/".extraConfig = ''
|
||||
fastcgi_index Default.aspx;
|
||||
fastcgi_pass 127.0.0.1:9000;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root/few/$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO "";
|
||||
fastcgi-mono-server4 /applications=/few/:/vault/backups/frontend/inetpub/wwwroot/few/socket=tcp:127.0.0.1:9000;
|
||||
include ${pkgs.nginx}/conf/fastcgi_params;
|
||||
'';
|
||||
"/gcw/".extraConfig = ''
|
||||
fastcgi_index Default.aspx;
|
||||
fastcgi_pass 127.0.0.1:9000;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root/few/$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO "";
|
||||
fastcgi-mono-server4 /applications=/gcw/:/vault/backups/frontend/inetpub/wwwroot/gcw/socket=tcp:127.0.0.1:9000;
|
||||
include ${pkgs.nginx}/conf/fastcgi_params;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# ACME certs configuration
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
email = "secretario@arquitectosdeceuta.com";
|
||||
certs."coace.duckdns.org" = {
|
||||
webroot = "/var/lib/acme/acme-challenge";
|
||||
extraDomainNames = [ "frontend.coace.duckdns.org" ];
|
||||
};
|
||||
certs."coace.duckdns.org".webroot = "/var/lib/acme/acme-challenge";
|
||||
};
|
||||
|
||||
# Generate dhparams
|
||||
|
|
Loading…
Reference in New Issue