ACME and SSL stuff
This commit is contained in:
parent
3a8a31cb99
commit
6618318370
|
@ -29,6 +29,12 @@
|
|||
"nixpkgs=${pkgs.path}"
|
||||
];
|
||||
|
||||
# ACME
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "sky.hearn@pm.me";
|
||||
};
|
||||
|
||||
# wireguard server setup
|
||||
# enable NAT
|
||||
networking.nat.enable = true;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
services.nginx.virtualHosts."git.my-domain.tld" = {
|
||||
enableACME = false;
|
||||
forceSSL = false;
|
||||
services.nginx.virtualHosts."git.skymath.duckdns.org" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:3001/";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue