Learn about Centmin Mod LEMP Stack today
Register Now

Nginx Strip "Cookie" header on static files?

Discussion in 'Centmin Mod Insights' started by rdan, Jan 1, 2017.

  1. rdan

    rdan Well-Known Member

    5,452
    1,418
    113
    May 25, 2014
    Ratings:
    +2,212
    Local Time:
    4:01 PM
    Mainline
    10.2
    I want to implement this without using separate sub domain.
    I tried using openresty headers-more-nginx-module.
    • more_set_headers
    • more_clear_headers
    on staticfiles.conf, but still not working.


     
  2. eva2000

    eva2000 Administrator Staff Member

    58,894
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    6:01 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    technically you can't without using a different domain or subdomain from main web app's domain
     
  3. rdan

    rdan Well-Known Member

    5,452
    1,418
    113
    May 25, 2014
    Ratings:
    +2,212
    Local Time:
    4:01 PM
    Mainline
    10.2
    Okay, I'll leave it then :).
    Thanks!