diff options
| author | EuAndreh <eu@euandre.org> | 2020-08-22 22:23:54 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2020-08-22 22:23:54 -0300 |
| commit | ce5ad04d090bae3bb47e6f361c2b0269691c10a2 (patch) | |
| tree | bf40d09149b5ff2508338a5bebd102ad7c06c932 | |
| parent | Re-add missing GIT_ROOT (diff) | |
| download | toph-ce5ad04d090bae3bb47e6f361c2b0269691c10a2.tar.gz toph-ce5ad04d090bae3bb47e6f361c2b0269691c10a2.tar.xz | |
NGINX songbooks: redirect root documentation to master
| -rw-r--r-- | vps-configuration.env.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vps-configuration.env.nix b/vps-configuration.env.nix index 5f5fd62..6ee3053 100644 --- a/vps-configuration.env.nix +++ b/vps-configuration.env.nix @@ -126,6 +126,11 @@ in { forceSSL = true; enableACME = true; root = "${envsubstConfiguration.staticRoot}/songbooks/"; + extraConfig = '' + location = / { + return 301 master/; + } + ''; }; "${envsubstConfiguration.prosodyTLD}" = { forceSSL = true; |
