update ssl settings
This commit is contained in:
parent
cfcf67fe71
commit
f3557fbc8e
2 changed files with 8 additions and 6 deletions
|
|
@ -100,9 +100,10 @@ in
|
|||
options = { };
|
||||
|
||||
config = {
|
||||
services.nginx.virtualHosts."${domain}" = lib.mkIf (hasSecret "linode_rw_domains") {
|
||||
forceSSL = true;
|
||||
useACMEHost = "joshuabell.xyz";
|
||||
services.nginx.virtualHosts."${domain}" = {
|
||||
addSSL = true;
|
||||
sslCertificate = "/var/lib/acme/joshuabell.xyz/fullchain.pem";
|
||||
sslCertificateKey = "/var/lib/acme/joshuabell.xyz/key.pem";
|
||||
extraConfig = ''
|
||||
client_max_body_size 50G;
|
||||
proxy_read_timeout 600s;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue