From 1a64deeb894dc95e2645a75771732c6cc53a79ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 4 Oct 2023 01:35:06 +0200 Subject: Squash changes containing private information There were a lot of changes since the previous commit, but a lot of them contained personnal information about users. All thos changes got stashed into a single commit (history is kept in a different place) and private information was moved in a separate private repository --- modules/private/websites/tools/tools/ympd.nix | 40 --------------------------- 1 file changed, 40 deletions(-) delete mode 100644 modules/private/websites/tools/tools/ympd.nix (limited to 'modules/private/websites/tools/tools/ympd.nix') diff --git a/modules/private/websites/tools/tools/ympd.nix b/modules/private/websites/tools/tools/ympd.nix deleted file mode 100644 index 531b1a9..0000000 --- a/modules/private/websites/tools/tools/ympd.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ env }: -let - ympd = rec { - config = { - webPort = "localhost:${toString env.listenPort}"; - host = env.mpd.host; - port = env.mpd.port; - }; - apache = { - modules = [ - "proxy_wstunnel" - ]; - vhostConf = '' - - Use LDAPConnect - Require ldap-group cn=users,cn=mpd,ou=services,dc=immae,dc=eu - - - RedirectMatch permanent "^/mpd$" "/mpd/" - - ProxyPass http://${config.webPort}/ - ProxyPassReverse http://${config.webPort}/ - ProxyPreserveHost on - - - ProxyPass ws://${config.webPort}/ws - - - ProxyPass unix:///run/mpd/mp3.sock|http://tools.immae.eu/mpd/mp3 - ProxyPassReverse unix:///run/mpd/mp3.sock|http://tools.immae.eu/mpd/mp3 - - - ProxyPass unix:///run/mpd/ogg.sock|http://tools.immae.eu/mpd/ogg - ProxyPassReverse unix:///run/mpd/ogg.sock|http://tools.immae.eu/mpd/ogg - - ''; - }; - }; -in - ympd -- cgit v1.2.3