forked from CCCHH/nix-infra
public-web-static(host): move to new network and to v6
This commit is contained in:
parent
fe27dba7fd
commit
dd2f3178db
31 changed files with 502 additions and 116 deletions
|
|
@ -12,6 +12,10 @@ in
|
|||
serverName = "${domain}";
|
||||
|
||||
listen = [
|
||||
{
|
||||
addr = "[::]";
|
||||
port = 31820;
|
||||
}
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 31820;
|
||||
|
|
@ -22,12 +26,18 @@ in
|
|||
"${domain}" = {
|
||||
forceSSL = true;
|
||||
useACMEHost = "${domain}";
|
||||
|
||||
|
||||
locations."/shop" = {
|
||||
return = "302 https://tickets.hamburg.ccc.de";
|
||||
};
|
||||
|
||||
listen = [
|
||||
{
|
||||
addr = "[::]";
|
||||
port = 8443;
|
||||
ssl = true;
|
||||
proxyProtocol = true;
|
||||
}
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 8443;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue