services.nginx.defaultSSLListenPort

NixOS option

If vhosts do not specify listen.port, use these ports for SSL by default.

type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)
Default
443
Example
8443
declared in: nixos/modules/services/web-servers/nginx/default.nixView source on NixOS/nixpkgs →