Use hacky workaround for enableACME check with a proxyProtocol listener

This commit is contained in:
fi 2024-11-20 05:46:39 +01:00
parent 399731bd0c
commit a03df6b14d
9 changed files with 36 additions and 34 deletions

View file

@ -5,9 +5,9 @@
enableACME = true; enableACME = true;
listen = [ listen = [
{ {
addr = "0.0.0.0"; addr = "localhost";
port = 80; port = 1234;
} } # workaround for enableACME check
{ {
addr = "localhost"; addr = "localhost";
port = 8443; port = 8443;

View file

@ -5,9 +5,9 @@
enableACME = true; enableACME = true;
listen = [ listen = [
{ {
addr = "0.0.0.0"; addr = "localhost";
port = 80; port = 1234;
} } # workaround for enableACME check
{ {
addr = "localhost"; addr = "localhost";
port = 8443; port = 8443;

View file

@ -20,7 +20,7 @@ in
{ {
addr = "localhost"; addr = "localhost";
port = 1234; port = 1234;
} } # workaround for enableACME check
{ {
addr = "localhost"; addr = "localhost";
port = 8443; port = 8443;

View file

@ -5,9 +5,9 @@
enableACME = true; enableACME = true;
listen = [ listen = [
{ {
addr = "0.0.0.0"; addr = "localhost";
port = 80; port = 1234;
} } # workaround for enableACME check
{ {
addr = "localhost"; addr = "localhost";
port = 8443; port = 8443;

View file

@ -5,9 +5,9 @@
enableACME = true; enableACME = true;
listen = [ listen = [
{ {
addr = "0.0.0.0"; addr = "localhost";
port = 80; port = 1234;
} } # workaround for enableACME check
{ {
addr = "localhost"; addr = "localhost";
port = 8443; port = 8443;

View file

@ -5,9 +5,9 @@
enableACME = true; enableACME = true;
listen = [ listen = [
{ {
addr = "0.0.0.0"; addr = "localhost";
port = 80; port = 1234;
} } # workaround for enableACME check
{ {
addr = "localhost"; addr = "localhost";
port = 8443; port = 8443;

View file

@ -5,9 +5,9 @@
enableACME = true; enableACME = true;
listen = [ listen = [
{ {
addr = "0.0.0.0"; addr = "localhost";
port = 80; port = 1234;
} } # workaround for enableACME check
{ {
addr = "localhost"; addr = "localhost";
port = 8443; port = 8443;

View file

@ -3,10 +3,12 @@
services.nginx.virtualHosts."nextcloud.grzb.de" = { services.nginx.virtualHosts."nextcloud.grzb.de" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
listen = [ { listen = [
addr = "0.0.0.0"; {
port = 80; addr = "localhost";
}{ port = 1234;
} # workaround for enableACME check
{
addr = "localhost"; addr = "localhost";
port = 8443; port = 8443;
ssl = true; ssl = true;

View file

@ -5,9 +5,9 @@
enableACME = true; enableACME = true;
listen = [ listen = [
{ {
addr = "0.0.0.0"; addr = "localhost";
port = 80; port = 1234;
} } # workaround for enableACME check
{ {
addr = "localhost"; addr = "localhost";
port = 8443; port = 8443;