This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

services.radio: proxy wish and all_tracks endpoints

+20
+20
2configs/services/radio/proxy.nix
··· 13 13 proxy_set_header user-agent "$http_user_agent; client-ip=$remote_addr"; 14 14 ''; 15 15 }; 16 + locations."/wish" = { 17 + # recommendedProxySettings = true; 18 + proxyWebsockets = true; 19 + proxyPass = "http://radio.r:8002/wish"; 20 + extraConfig = '' 21 + proxy_set_header Host radio.r; 22 + # get source ip for weather reports 23 + proxy_set_header user-agent "$http_user_agent; client-ip=$remote_addr"; 24 + ''; 25 + }; 26 + locations."/all_tracks" = { 27 + # recommendedProxySettings = true; 28 + proxyWebsockets = true; 29 + proxyPass = "http://radio.r:8002/all_tracks"; 30 + extraConfig = '' 31 + proxy_set_header Host radio.r; 32 + # get source ip for weather reports 33 + proxy_set_header user-agent "$http_user_agent; client-ip=$remote_addr"; 34 + ''; 35 + }; 16 36 }; 17 37 krebs.htgen.radio-redirect = { 18 38 port = 8000;