services.jirafeau.nginxConfig.redirectCode
NixOS option
HTTP status used by globalRedirect and forceSSL. Possible usecases include temporary (302, 307) redirects, keeping the request method and body (307, 308), or explicitly resetting the method to GET (303). See https://developer.mozilla.org/en-US/docs/Web/HTTP/Redirections.
type: integer between 300 and 399 (both inclusive)Default
301
Example
declared in: nixos/modules/services/web-apps/jirafeau.nixView source on NixOS/nixpkgs →308