Next Cloud Port Managment

HI
is there a way for setting port management other than 443?
all users access via port 443 ,management port will be different one .
for security purpose

Yossi

Afaik, Nextcloud is not separating the user and management access, so that this isnโ€™t possible at the moment. I donโ€™t believe that such function is planned for the near future.

Hi

Tnx a lot

.

ื”ืฉื’ ืืช Outlook ืขื‘ื•ืจ Android

If you are running on nginx you can add a simple rule to deny /settings/admin and you can create an additional server on the port you want where you deny everything that is not /settings/admin.

It is not a nice one but it will work.

For the user site:

	location / {
	rewrite ^ /index.php$uri;
}
location ~ ^(/settings/admin) {
	deny all;
}

And or the admin site on a different port:

	location / {
	rewrite ^ /index.php$uri;
	deny all;
}
location ~ ^(/settings/admin) {
	rewrite ^ /index.php$uri;
	allow all;
}

There are more rules needed to make it perfect without any complains. But a rough sample of what you can do if you think you really need it.

1 Like