wip
This commit is contained in:
parent
fcd559d1c2
commit
4f71bf83bc
1 changed files with 11 additions and 16 deletions
|
|
@ -115,27 +115,22 @@
|
|||
enableACME = true;
|
||||
onlySSL = true;
|
||||
|
||||
#listen = [
|
||||
# { addr = "0.0.0.0"; port = 443; }
|
||||
# { addr = "[::]"; port = 443; }
|
||||
#];
|
||||
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:3000/"; # pass through to Forgejo
|
||||
};
|
||||
};
|
||||
#"forge.quinefoundation.com-http" = {
|
||||
# serverName = "forge.quinefoundation.com";
|
||||
"forge.quinefoundation.com-http" = {
|
||||
serverName = "forge.quinefoundation.com";
|
||||
|
||||
# listen = [
|
||||
# { addr = "0.0.0.0"; port = 80; }
|
||||
# { addr = "[::]"; port = 80; }
|
||||
# ];
|
||||
#
|
||||
# locations."/" = {
|
||||
# proxyPass = "https://forge.quinefoundation.com/"; # pass through to HTTPS
|
||||
# };
|
||||
#};
|
||||
listen = [
|
||||
{ addr = "0.0.0.0"; port = 80; }
|
||||
{ addr = "[::]"; port = 80; }
|
||||
];
|
||||
|
||||
locations."/" = {
|
||||
proxyPass = "https://forge.quinefoundation.com/"; # pass through to HTTPS
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Optionally configure additional options
|
||||
|
|
|
|||
Loading…
Reference in a new issue