nextcloudpi
nextcloudpi copied to clipboard
Page http://nextcloud is Forbidden before activation becouse of router dhcpv6
System information Page http://nextcloudpi is Forbidden before activation
The problem is in /etc/apache2/sites-enabled/ncp.conf Because I use router with IPv6 with global IPv6 assignment. But there is no rule in apache to manage local or global ipv6 restriction. The solution is to replace with this </RequireAny> …. Require all granted </RequireAny> But then we have a security issue (Page of activation is exposed from the internet). To solve this, we need to move the activation page to url https://nextcloudpi:4443/. On url https://nextcloudpi/ we have to implement automatic redirect to url https://nextcloudpi:4443/ to activation page. So user do first run go https://nextcloudpi/ and Activation page is not exposed to internet from router forwarding port.