5 webPort = "localhost:${toString env.listenPort}";
14 <LocationMatch "^/mpd(?!/music.(mp3|ogg))">
16 Require ldap-group cn=users,cn=mpd,ou=services,dc=immae,dc=eu
19 RedirectMatch permanent "^/mpd$" "/mpd/"
21 ProxyPass http://${config.webPort}/
22 ProxyPassReverse http://${config.webPort}/
26 ProxyPass ws://${config.webPort}/ws
28 <Location "/mpd/music.mp3">
29 ProxyPass unix:///run/mpd/mp3.sock|http://tools.immae.eu/
30 ProxyPassReverse unix:///run/mpd/mp3.sock|http://tools.immae.eu/
32 <Location "/mpd/music.ogg">
33 ProxyPass unix:///run/mpd/ogg.sock|http://tools.immae.eu/
34 ProxyPassReverse unix:///run/mpd/ogg.sock|http://tools.immae.eu/