Nextcloud: Difference between revisions
→Change default listening port: switch localhost to yourHostName to warn that they should use the configured nextcloud hostname |
→Change default listening port: update to use hostName directly from config |
||
Line 325: | Line 325: | ||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | {{file|/etc/nixos/configuration.nix|nix|<nowiki> | ||
services.nginx.virtualHosts." | services.nginx.virtualHosts."${config.services.nextcloud.hostName}".listen = [ { addr = "127.0.0.1"; port = 8080; } ]; | ||
</nowiki>}} | </nowiki>}} | ||