ProxyPass ws://${config.webPort}/ws
</Location>
<Location "/mpd/music.mp3">
- ProxyPass http://localhost:${env.mp3port}/
- ProxyPassReverse http://localhost:${env.mp3port}/
+ ProxyPass unix:///run/mpd/mp3.sock|http://tools.immae.eu/
+ ProxyPassReverse unix:///run/mpd/mp3.sock|http://tools.immae.eu/
</Location>
<Location "/mpd/music.ogg">
- ProxyPass http://localhost:${env.oggport}/
- ProxyPassReverse http://localhost:${env.oggport}/
+ ProxyPass unix:///run/mpd/ogg.sock|http://tools.immae.eu/
+ ProxyPassReverse unix:///run/mpd/ogg.sock|http://tools.immae.eu/
</Location>
'';
};