Skip to main content

nginx problem with logged in users code

Comments

5 comments

  • cPRex Jurassic Moderator
    Hey there! We have seen some odd caching behavior with various tools using Nginx, usually on login pages or other password-protected areas.. Can you let me know if this is default code included with Woocommerce? If so, it would be best to open a ticket so our team could reproduce this on your machine, and then we can get a case created with our developers to address this.
    0
  • dzamanakos
    Hi, i opened ticket 94421311. I also found another problem with wordpress + nginx caching which is important too, you cant install wordpress and do the 1st login without clearing the nginx cache. I'll wait the ticket replies as it's a settings problem. Engintron, which is a plugin for WHM, that's using nginx as reverse proxy and is maintened by a developer doesnt have these problems, as i was using it for years before switching to cpanel nginx. best,
    0
  • cPRex Jurassic Moderator
    Thanks for that - I'm following along with the ticket now. Alex is actually going to send an updated reply after we talked a bit, so you'll be hearing from him again soon with more details.
    0
  • dzamanakos
    Hi, support couldnt reproduce the caching behavior, i'll wait for other people feedback too. I believe that the problem is that support may be in a case that the system hasn't cached anything yet and it's difficult to reproduce. best,
    0
  • dzamanakos
    Hi, after checking the problems with L3 support, the only solution is to make changes per account and not server wide. Wordpress installation with the classic way (not through wordpress toolkit) will be cached and need the user to clear the cache via cpanel's nginx clear cache button in order to login. Redirect control can be fixed via ?nocache=true in the url, that needs custom work from a website developer (a user just installs a plugin and expects to work). That's not suitable as i cant control hundreds of users and monitor which plugins they are using, I would prefer a solution that works out of the box. Engintron for example that i used for some years didnt have these problems and it's based on nginx, so i believe it's a server config issue. For now i'll return to engintron and / or litespeed. best,
    0

Please sign in to leave a comment.