feat: expose nginx
This commit is contained in:
parent
20e8bd96bd
commit
b2be34b8fe
2 changed files with 12 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ in
|
|||
{
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "thiago@sposi.to";
|
||||
defaults.email = "th.spo@pm.me";
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
|
|
@ -15,6 +15,7 @@ in
|
|||
virtualHosts.${domain} = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
# Allow HTTP initially for ACME challenge, will redirect to HTTPS once cert is ready
|
||||
extraConfig = ''
|
||||
client_max_body_size 512M;
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue