Commit d8cf65b6 authored by fpletz's avatar fpletz 🚧
Browse files

nixbus: active live muccc-api instance

parent dfd7e5bc
...@@ -54,6 +54,9 @@ ...@@ -54,6 +54,9 @@
80 80
443 443
]; ];
allowedUDPPorts = [
20280 # schleusenstate multicast
];
}; };
useDHCP = false; useDHCP = false;
interfaces = { interfaces = {
...@@ -127,8 +130,7 @@ ...@@ -127,8 +130,7 @@
virtualHosts."nixbus.club.muc.ccc.de" = { virtualHosts."nixbus.club.muc.ccc.de" = {
enableACME = true; enableACME = true;
addSSL = true; addSSL = true;
locations."/".extraConfig = "return 404;"; locations."/" = {
locations."/api/" = {
proxyPass = "http://[::1]:8020/"; proxyPass = "http://[::1]:8020/";
#extraConfig = '' #extraConfig = ''
# set_real_ip_from 83.133.178.64/26; # set_real_ip_from 83.133.178.64/26;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment