Unstable added
This commit is contained in:
parent
8ba1f17124
commit
23dceaa5ba
4 changed files with 82 additions and 58 deletions
|
@ -4,13 +4,7 @@
|
|||
security.acme = {
|
||||
acceptTerms = true;
|
||||
email = "fredrik@wastring.com";
|
||||
certs."git.wastring.com" = {
|
||||
dnsProvider = "gandi";
|
||||
# Supplying password files like this will make your credentials world-readable
|
||||
# in the Nix store. This is for demonstration purpose only, do not use this in production.
|
||||
credentialsFile = /home/fw/credentials.sh;
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
|
@ -18,6 +12,15 @@
|
|||
recommendedOptimisation = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
virtualHosts."git.wastring.com" = { default = true; enableACME = true; addSSL = true; locations."/".proxyPass = "http://172.17.0.1:3030/"; };
|
||||
virtualHosts."wastring.com" = { default = true; useACMEHost = "wastring.com"; addSSL = true; locations."/".proxyPass = "http://172.17.0.1:3030/"; };
|
||||
};
|
||||
|
||||
# security.acme.certs."wastring.com" = {
|
||||
# group = "nginx";
|
||||
# domain = "wastring.com";
|
||||
# dnsProvider = "gandiv5";
|
||||
# dnsResolver = "1.1.1.1:53";
|
||||
# dnsPropagationCheck = true;
|
||||
# credentialsFile = "/home/fw/credentials";
|
||||
# };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue