services.nextcloud.settings.overwriteprotocol
NixOS option
one of "", "http", "https"
Force Nextcloud to always use HTTP or HTTPS i.e. for link generation. Nextcloud uses the currently used protocol by default, but when behind a reverse-proxy, it may use http for everything although Nextcloud may be served via HTTPS.
type: one of "", "http", "https"Default
""
Example
declared in: nixos/modules/services/web-apps/nextcloud.nixView source on NixOS/nixpkgs →"https"