forked from Zynh0722/permafrost
foundry: clean up cert testing
This commit is contained in:
parent
5844a29c7e
commit
adc3fae69e
1 changed files with 1 additions and 4 deletions
|
@ -16,12 +16,9 @@ in
|
||||||
{
|
{
|
||||||
# permafrost.nginx.certDomains = lib.mkIf ACMEEnabled [ "scarlet.zynh.me" ];
|
# permafrost.nginx.certDomains = lib.mkIf ACMEEnabled [ "scarlet.zynh.me" ];
|
||||||
services.nginx.virtualHosts."scarlet.zynh.me" = {
|
services.nginx.virtualHosts."scarlet.zynh.me" = {
|
||||||
forceSSL = lib.mkIf ACMEEnabled true;
|
|
||||||
serverName = "scarlet.zynh.me";
|
serverName = "scarlet.zynh.me";
|
||||||
|
forceSSL = lib.mkIf ACMEEnabled true;
|
||||||
useACMEHost = lib.mkIf ACMEEnabled "permafrost";
|
useACMEHost = lib.mkIf ACMEEnabled "permafrost";
|
||||||
locations."/.well-known/acme-challenge" = {
|
|
||||||
root = "/var/lib/acme/.challenges";
|
|
||||||
};
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
extraConfig = /* nginx */ ''
|
extraConfig = /* nginx */ ''
|
||||||
# Set proxy headers
|
# Set proxy headers
|
||||||
|
|
Loading…
Reference in a new issue