services.mediawiki.httpd.virtualHost.forceSSL
Whether to add a separate nginx server block that permanently redirects (301)
all plain HTTP traffic to HTTPS. This will set defaults for
listen to listen on all interfaces on the respective default
ports (80, 443), where the non-SSL listens are used for the redirect vhosts.
- Type
boolean- Default
false- Declared
- <nixpkgs/nixos/modules/services/web-apps/mediawiki.nix>