Welcome to Centmin Mod Community
Register Now

Nginx Strip "Cookie" header on static files?

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

  1. rdan

    rdan Premium Member Premium Member

    4,308
    1,044
    113
    May 25, 2014
    Ratings:
    +1,504
    Local Time:
    12:10 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

    36,398
    7,992
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,304
    Local Time:
    2:10 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    technically you can't without using a different domain or subdomain from main web app's domain
     
    • Informative Informative x 1
  3. rdan

    rdan Premium Member Premium Member

    4,308
    1,044
    113
    May 25, 2014
    Ratings:
    +1,504
    Local Time:
    12:10 PM
    Mainline
    10.2
    Okay, I'll leave it then :).
    Thanks!
     
..