Want more timely Centmin Mod News Updates?
Become a Member

Nginx EXCLUDE DIRECTORY

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by FAPM, Aug 6, 2015.

  1. FAPM

    FAPM Member

    58
    4
    8
    Jul 16, 2015
    Ratings:
    +6
    Local Time:
    8:08 PM
    1.9.2
    10.0.20
    I would like to exclude a directory (admin) because I have problems related to the cache (memcached etc ...)

    What should I change in nginx conf?

    I want that no cache is applied to the selected directory
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,165
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,135
    Local Time:
    4:08 AM
    Nginx 1.13.x
    MariaDB 5.5
    what caching you using as how you exclude i depends on what caching you are using ?
     
  3. FAPM

    FAPM Member

    58
    4
    8
    Jul 16, 2015
    Ratings:
    +6
    Local Time:
    8:08 PM
    1.9.2
    10.0.20
    Memcached PHP and smarty
     
  4. FAPM

    FAPM Member

    58
    4
    8
    Jul 16, 2015
    Ratings:
    +6
    Local Time:
    8:08 PM
    1.9.2
    10.0.20
    It's memcached my problem ..
     
  5. eva2000

    eva2000 Administrator Staff Member

    30,165
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,135
    Local Time:
    4:08 AM
    Nginx 1.13.x
    MariaDB 5.5
    Unfortunately, you're on your own with custom cache setups as to how you fine tune and exclude directories. From you what you said smarty as in PHP would be PHP level cache and nothing to do with Nginx. It would be related to smarty PHP app level configuration which you'd be on your own.
     
    Last edited: Aug 6, 2015