pipebert: block websites outside of hq
parent
3333332a03
commit
000000f0c5
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, libC, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -82,7 +82,7 @@
|
|||
proxy_set_header X-Scheme $scheme;
|
||||
proxy_set_header Accept-Encoding identity;
|
||||
client_max_body_size 200M;
|
||||
'';
|
||||
'' + libC.hqNetworkOnly;
|
||||
};
|
||||
# locations."/cam/stream" = {
|
||||
# proxyPass = "http://localhost:3020/?action=stream";
|
||||
|
@ -104,6 +104,7 @@
|
|||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:8888/";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = libC.hqNetworkOnly;
|
||||
};
|
||||
};
|
||||
"mopidy.hq.c3d2.de" = {
|
||||
|
@ -112,6 +113,7 @@
|
|||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:6680";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = libC.hqNetworkOnly;
|
||||
};
|
||||
};
|
||||
"pipebert.hq.c3d2.de" = {
|
||||
|
|
Loading…
Reference in New Issue