Thanks for you answer. I meant that I need to restrict access to single wordpress page (there is a secret form there). /secret-page/ - is a permalink of the page, rewritten URL managed by wordpress. To make it work I used general config for wordpress I found on DigitalOcean guide server { listen 80 default_server; listen [::]:80 default_server ipv6only=on; rooby ohmykot - Nginx Mailing List - English
Hi! I've got a server with nginx and a wordpress website running on it. On the web-site, I have a wordpress page, i.e. domain.com/secret-page/, that I want to restrict access to everybody but 1 specific IP address of my other server. As this page is not a real physical directory, but just a friendly URL - I got stuck. I don't have previous experience configuring nginx, but I tried hard to gby ohmykot - Nginx Mailing List - English
Привет! Есть сервер на nginx и сайт на Wordpress. Появилась задача - к определенному странице Wordpress дать доступ только с определенного IP, а к остальным - запретить (не директории, а именно к определенной странице, то есть это не pby ohmykot - Nginx Mailing List - Russian