- Server operating system version
- CentOS Linux release 7.6.1810
- Plesk version and microupdate number
- Plesk Obsidian Version 18.0.81
Hi,
I need to block visitors using Mackintosh Chrome browsers - There are thousands of them on a daily basis, and almost all have unique ip addresses.
But I must allow genuine visitors who use iPhone, android or destop windows explorer, as well as search engines bots.
I have tried htaccess to no avail. Having searched the internet, the cause is running Nginx.
"The htaccess file and RewriteRule syntax belong strictly to Apache web servers. Since you are running Nginx on CentOS 7, any rules you write in an htaccess file will be completely ignored by the server."
The solution involves editing Nginx file "/etc/nginx/nginx.conf".
I am not famiilar with Nginx and I don't want to make a miss of things.
Can I do this effectively via Plesk? Or would it be better if I edited file "/etc/nginx/nginx.conf".
Please advise me.
I need to block visitors using Mackintosh Chrome browsers - There are thousands of them on a daily basis, and almost all have unique ip addresses.
But I must allow genuine visitors who use iPhone, android or destop windows explorer, as well as search engines bots.
I have tried htaccess to no avail. Having searched the internet, the cause is running Nginx.
"The htaccess file and RewriteRule syntax belong strictly to Apache web servers. Since you are running Nginx on CentOS 7, any rules you write in an htaccess file will be completely ignored by the server."
The solution involves editing Nginx file "/etc/nginx/nginx.conf".
I am not famiilar with Nginx and I don't want to make a miss of things.
Can I do this effectively via Plesk? Or would it be better if I edited file "/etc/nginx/nginx.conf".
Please advise me.