MyNixOS website logo
option

services.httpd.virtualHosts.<name>.globalRedirect

If set, all requests for this host are redirected permanently to the given URL.

Declarations
Type
null or string
Default
null
Example
"http://newserver.example.org/"