Two radio endpoints
All checks were successful
Check Flake / check-flake (push) Successful in 50s

This commit is contained in:
Zuckerberg 2024-02-02 20:23:40 -07:00
parent 800a95d431
commit 75031567bd

View File

@ -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;
}; };
}; };