aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/websites
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-22 19:03:18 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-22 19:03:18 +0200
commit9df76627240b567f8cbb00d1b429aa3541243558 (patch)
tree20caf5738c1a3e1120de70d88623794707e951d2 /nixops/modules/websites
parent65e649254aa406277f5e8b99adf1114e6ac373ca (diff)
downloadNix-9df76627240b567f8cbb00d1b429aa3541243558.tar.gz
Nix-9df76627240b567f8cbb00d1b429aa3541243558.tar.zst
Nix-9df76627240b567f8cbb00d1b429aa3541243558.zip
Use sockets instead of ports in mpd
Diffstat (limited to 'nixops/modules/websites')
-rw-r--r--nixops/modules/websites/tools/tools/ympd.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixops/modules/websites/tools/tools/ympd.nix b/nixops/modules/websites/tools/tools/ympd.nix
index 82d9321..b54c486 100644
--- a/nixops/modules/websites/tools/tools/ympd.nix
+++ b/nixops/modules/websites/tools/tools/ympd.nix
@@ -26,12 +26,12 @@ let
26 ProxyPass ws://${config.webPort}/ws 26 ProxyPass ws://${config.webPort}/ws
27 </Location> 27 </Location>
28 <Location "/mpd/music.mp3"> 28 <Location "/mpd/music.mp3">
29 ProxyPass http://localhost:${env.mp3port}/ 29 ProxyPass unix:///run/mpd/mp3.sock|http://tools.immae.eu/
30 ProxyPassReverse http://localhost:${env.mp3port}/ 30 ProxyPassReverse unix:///run/mpd/mp3.sock|http://tools.immae.eu/
31 </Location> 31 </Location>
32 <Location "/mpd/music.ogg"> 32 <Location "/mpd/music.ogg">
33 ProxyPass http://localhost:${env.oggport}/ 33 ProxyPass unix:///run/mpd/ogg.sock|http://tools.immae.eu/
34 ProxyPassReverse http://localhost:${env.oggport}/ 34 ProxyPassReverse unix:///run/mpd/ogg.sock|http://tools.immae.eu/
35 </Location> 35 </Location>
36 ''; 36 '';
37 }; 37 };