Skip to main content

WordPress protected pages and NGINX Caching

Comments

3 comments

  • SPDTeam

    The change to the new cPanel Forums has cleared out some of the original replies.

    NGINX was installed following the standard WHM instructions found at https://docs.cpanel.net/knowledge-base/web-services/nginx-with-reverse-proxy/.

    From what I understand WordPress sets a cookie when a page is password protected.

    In theory I would be able to add a map directive for NGINX to bypass the cache it this is found. However the WHM guide states that the nginx.conf should not be edited. 

    Is there another way to achieve the same result?

    0
  • SPDTeam

    Anyone had the same challenge?

    0
  • cPRex Jurassic Moderator

    I feel like a vaguely remember this coming up recently - didn't we decide that a ticket was the best plan of action so we could reproduce the issue on our end?

    0

Please sign in to leave a comment.