forgejo: removed redundant / locations

This commit is contained in:
Serĉanto de Scio 2023-07-11 19:12:19 +10:00
parent a6805e0959
commit 23757e4a95
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -98,14 +98,12 @@ in {
# Hostname to be redirected # Hostname to be redirected
enableACME = true; # Use ACME certs enableACME = true; # Use ACME certs
forceSSL = true; # Force SSL forceSSL = true; # Force SSL
locations."/".proxyPass = "http://localhost:3002/"; # Proxy Forgejo
globalRedirect = "source.mcwhirter.io"; # Redirect permanently to the host globalRedirect = "source.mcwhirter.io"; # Redirect permanently to the host
}; };
virtualHosts."code.mcwhirter.io" = { virtualHosts."code.mcwhirter.io" = {
# Hostname to be redirected # Hostname to be redirected
enableACME = true; # Use ACME certs enableACME = true; # Use ACME certs
forceSSL = true; # Force SSL forceSSL = true; # Force SSL
locations."/".proxyPass = "http://localhost:3002/"; # Proxy Forgejo
globalRedirect = "source.mcwhirter.io"; # Redirect permanently to the host globalRedirect = "source.mcwhirter.io"; # Redirect permanently to the host
}; };
}; };