diff options
author | Gabriel Fontes <hi@m7.rs> | 2023-12-01 15:42:46 -0300 |
---|---|---|
committer | Gabriel Fontes <hi@m7.rs> | 2023-12-11 11:09:02 -0300 |
commit | a3c60d2ddc9f70dca3fa5c5926aefc9a74bd2519 (patch) | |
tree | 3e417cec2c0236f2c79e7e43069e92738bccb15f /nixos/doc | |
parent | 72061433dd3711fe9a06b177323e4ffd4a81847a (diff) | |
download | nixlib-a3c60d2ddc9f70dca3fa5c5926aefc9a74bd2519.tar nixlib-a3c60d2ddc9f70dca3fa5c5926aefc9a74bd2519.tar.gz nixlib-a3c60d2ddc9f70dca3fa5c5926aefc9a74bd2519.tar.bz2 nixlib-a3c60d2ddc9f70dca3fa5c5926aefc9a74bd2519.tar.lz nixlib-a3c60d2ddc9f70dca3fa5c5926aefc9a74bd2519.tar.xz nixlib-a3c60d2ddc9f70dca3fa5c5926aefc9a74bd2519.tar.zst nixlib-a3c60d2ddc9f70dca3fa5c5926aefc9a74bd2519.zip |
nixos/nginx: make redirect status code configurable
Add an option to configure which code globalRedirect and forceSSL use. It previously was always 301 with no easy way to override.
Diffstat (limited to 'nixos/doc')
-rw-r--r-- | nixos/doc/manual/release-notes/rl-2405.section.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2405.section.md b/nixos/doc/manual/release-notes/rl-2405.section.md index 15696e802c12..45e298e682c7 100644 --- a/nixos/doc/manual/release-notes/rl-2405.section.md +++ b/nixos/doc/manual/release-notes/rl-2405.section.md @@ -47,6 +47,10 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m existing process, but will need to start that process from gdb (so it is a child). Or you can set `boot.kernel.sysctl."kernel.yama.ptrace_scope"` to 0. +- [Nginx virtual hosts](#opt-services.nginx.virtualHosts) using `forceSSL` or + `globalRedirect` can now have redirect codes other than 301 through + `redirectCode`. + - Gitea 1.21 upgrade has several breaking changes, including: - Custom themes and other assets that were previously stored in `custom/public/*` now belong in `custom/public/assets/*` - New instances of Gitea using MySQL now ignore the `[database].CHARSET` config option and always use the `utf8mb4` charset, existing instances should migrate via the `gitea doctor convert` CLI command. |