this repo has no description
31
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix tangled.sh certs

Signed-off-by: oppiliappan <me@oppi.li>

+6 -4
+6 -4
hosts/appview/services/nginx.nix
··· 35 35 virtualHosts = { 36 36 # Redirect tangled.sh → tangled.org 37 37 "tangled.sh" = { 38 - serverAliases = [ "www.tangled.sh" ]; 39 - 40 38 locations."/" = { 41 - return = "301 https://tangled.org$request_uri"; 39 + extraConfig = '' 40 + if ($request_uri !~* "^/.well-known/acme-challenge/") { 41 + return 301 https://tangled.org$request_uri; 42 + } 43 + ''; 42 44 }; 43 45 44 - forceSSL = false; 46 + forceSSL = true; 45 47 enableACME = true; 46 48 }; 47 49