Add janky nginx config with workaround for proxy protocol
This commit is contained in:
parent
ade955bdf4
commit
ecfe325c9c
14 changed files with 343 additions and 281 deletions
|
@ -5,11 +5,16 @@
|
|||
virtualHosts = {
|
||||
|
||||
"hydra.nekover.se" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
listen = [{
|
||||
addr = "127.0.0.1";
|
||||
port = 1234;
|
||||
}{
|
||||
addr = "0.0.0.0";
|
||||
port = 8443;
|
||||
ssl = true;
|
||||
proxyProtocol = true;
|
||||
}];
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:3001";
|
||||
|
@ -17,11 +22,16 @@
|
|||
};
|
||||
|
||||
"nix-cache.nekover.se" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
listen = [{
|
||||
addr = "127.0.0.1";
|
||||
port = 1234;
|
||||
}{
|
||||
addr = "0.0.0.0";
|
||||
port = 8443;
|
||||
ssl = true;
|
||||
proxyProtocol = true;
|
||||
}];
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:5005";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue