This commit is contained in:
parent
800a95d431
commit
75031567bd
@ -63,17 +63,32 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
pia.wireguard.badPortForwardPorts = [ ];
|
pia.wireguard.badPortForwardPorts = [ ];
|
||||||
services.nginx.virtualHosts."radio.runyan.org" = {
|
services.nginx.virtualHosts = {
|
||||||
enableACME = true;
|
"radio.runyan.org" = {
|
||||||
forceSSL = true;
|
enableACME = true;
|
||||||
locations = {
|
forceSSL = true;
|
||||||
"/stream.mp3" = {
|
locations = {
|
||||||
proxyPass = "http://vpn.containers:8001/stream.mp3";
|
"/stream.mp3" = {
|
||||||
extraConfig = ''
|
proxyPass = "http://vpn.containers:8001/stream.mp3";
|
||||||
add_header Access-Control-Allow-Origin *;
|
extraConfig = ''
|
||||||
'';
|
add_header Access-Control-Allow-Origin *;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
"/".root = config.inputs.radio-web;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"radio.neet.space" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations = {
|
||||||
|
"/stream.mp3" = {
|
||||||
|
proxyPass = "http://vpn.containers:8001/stream.mp3";
|
||||||
|
extraConfig = ''
|
||||||
|
add_header Access-Control-Allow-Origin *;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
"/".root = config.inputs.radio-web;
|
||||||
};
|
};
|
||||||
"/".root = config.inputs.radio-web;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user