This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Nginx / Restrict access to a cwp_service
« on: March 26, 2025, 05:41:00 PM »
I cannot see another way to restrict access by IP to a pre configured CWP service such as round cube or php my admin
In this example phpmyadmin /pma when running Nginx other than to edit for example:
usr/local/cwpsrv/conf/cwp_services.conf
And under the location for pma:
location /pma {
if ($http_x_real_ip != XXX.XXX.XXX.XXX) {
return 404;
}
}
Is there a better way to do this using CWP ?
In this example phpmyadmin /pma when running Nginx other than to edit for example:
usr/local/cwpsrv/conf/cwp_services.conf
And under the location for pma:
location /pma {
if ($http_x_real_ip != XXX.XXX.XXX.XXX) {
return 404;
}
}
Is there a better way to do this using CWP ?
Pages: [1]