nginx: redirect root instead of proxying

This commit is contained in:
Payas Relekar 2023-06-05 00:49:50 +05:30
parent 7d948ce2ad
commit 7779b33cc9

View file

@ -111,7 +111,7 @@
addSSL = true;
enableACME = true;
locations = {
"/".proxyPass = "https://bhankas.org";
"/".return = "302 https://bhankas.org";
"/music".proxyPass = "http://${config.services.navidrome.settings.Address}:${toString config.services.navidrome.settings.Port}";
"/grafana".proxyPass = "http://0.0.0.0:2342";
"/minio".proxyPass = "http://${config.services.minio.consoleAddress}";