Support » Plugin: Nginx Helper » mostly works

  • Yui

    (@fierevere) team, ru_RU support & translation

    thanks for a nice helper for clearing fcgi cache,
    even if clearing the cache completely doesnt work in all environments,
    doing it require php to be ran user same uid as nginx and not chrooted.

    In chrooted and uid-separated environment its not possible to flush the cache

Viewing 1 replies (of 1 total)
  • Plugin Author Rahul Bansal


    Thanks for your feedback Yui.

    Cache clearing issues are side-effect of linux security.

    When nginx and php user are different AND php user are not part added to nginx group, you may notice this issue.

    Reason – cached pages are created by Nginx so they are owned by nginx-user.
    If php user is different, it relies on group or other users write permission for cached content.

    Ideal workaround would be from Nginx module. The nginx module which creates cache should also provide an API/function call to purge entire cache.

    Till then, on some systems, some kind of user/group permission fixing (one-time) need to be done.

Viewing 1 replies (of 1 total)
  • The topic ‘mostly works’ is closed to new replies.