Skip to main content

WordPress protected pages and NGINX Caching



  • 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

    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?

  • SPDTeam

    Anyone had the same challenge?

  • 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?


Please sign in to leave a comment.