forgejo: removed redundant / locations
This commit is contained in:
parent
a6805e0959
commit
23757e4a95
|
@ -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
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue