Learn about Centmin Mod LEMP Stack today
Register Now

Nginx No Status Response Header?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by RoldanLT, Feb 8, 2016.

  1. RoldanLT

    RoldanLT Well-Known Member

    3,829
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    7:41 PM
    1.11
    10.2
    Like for this site:
    [​IMG]

    status: 200


    But on my site, I don't have that header under response header?
    [​IMG]


    What could be the problem?
     
  2. Ahmad

    Ahmad Active Member

    209
    80
    28
    Apr 13, 2015
    Ratings:
    +150
    Local Time:
    1:41 PM
    1.9.9
    10.1.10
    You are using cloudflare, it modifies the headers.
    Cloudflare might be removing it for some reason.
     
    • Agree Agree x 1
  3. RoldanLT

    RoldanLT Well-Known Member

    3,829
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    7:41 PM
    1.11
    10.2
    No, other Cloudflare sites I tried still have it like @Xon 's site.
     
  4. RoldanLT

    RoldanLT Well-Known Member

    3,829
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    7:41 PM
    1.11
    10.2
    Even own cloudflare site still include it:
    [​IMG]
     
  5. Xon

    Xon Active Member

    123
    55
    28
    Nov 16, 2015
    Ratings:
    +159
    Local Time:
    7:41 PM
    1.11.x
    MariaDB 10.1.x
    @RoldanLT that is bizarre. Can you try a different browser? Because not returning a status header is just really weird and I'm inclined to think it is a display bug.
     
  6. eva2000

    eva2000 Administrator Staff Member

    29,000
    6,580
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,770
    Local Time:
    9:41 PM
    Nginx 1.13.x
    MariaDB 5.5
    looking in wrong place ? Chrome 48

    upload_2016-2-8_6-48-33.png
     
  7. RoldanLT

    RoldanLT Well-Known Member

    3,829
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    7:41 PM
    1.11
    10.2
    It has status code on General section, but not on Response Header.
    I am worried because it's only me that don't have status code on Response Header.

    Even using HTTP Spy Chrome Extension, I still don't have it.
     
  8. RoldanLT

    RoldanLT Well-Known Member

    3,829
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    7:41 PM
    1.11
    10.2
    Another thing, When I access my site via HTTPS, I have it included on Response Header.
    But with HTTP only, I don't have it :/
     
  9. eva2000

    eva2000 Administrator Staff Member

    29,000
    6,580
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,770
    Local Time:
    9:41 PM
    Nginx 1.13.x
    MariaDB 5.5
    funky :D
     
  10. RoldanLT

    RoldanLT Well-Known Member

    3,829
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    7:41 PM
    1.11
    10.2
    Even your own site on HTTP don't have it Eva :D.
    Why is that? :/
     
    • Informative Informative x 1
  11. eva2000

    eva2000 Administrator Staff Member

    29,000
    6,580
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,770
    Local Time:
    9:41 PM
    Nginx 1.13.x
    MariaDB 5.5
    ignore the browser
    Code:
    curl -I http://centminmod.com
    HTTP/1.1 200 OK
    Content-Type: text/html; charset=utf-8
    Connection: keep-alive
    Vary: Accept-Encoding
    Server: nginx centminmod
    X-Powered-By: centminmod
    X-Frame-Options: SAMEORIGIN
    X-Xss-Protection: 1; mode=block
    X-Content-Type-Options: nosniff
    Link: <http://centminmod.com/>; rel="canonical"
    X-Geo: US
    Local-Ip: 104.152.214.227
    Date: Mon, 08 Feb 2016 00:23:48 GMT
    X-Page-Speed: centminmod.com PageSpeed
    Cache-Control: max-age=0, no-cache
    Code:
    curl -I http://www.phcorner.net
    HTTP/1.1 200 OK
    Date: Mon, 08 Feb 2016 00:24:37 GMT
    Content-Type: text/html; charset=UTF-8
    Connection: keep-alive
    Set-Cookie: __cfduid=d9ff079bfd95d8d71c69fa7284d4595fc1454891076; expires=Tue, 07-Feb-17 00:24:36 GMT; path=/; domain=.phcorner.net; HttpOnly
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-control: private, max-age=0
    Set-Cookie: xf_session=4821d83ebc89da59874205430ab4bc5d; path=/; HttpOnly
    X-Frame-Options: SAMEORIGIN
    Last-Modified: Mon, 08 Feb 2016 00:24:36 GMT
    Vary: Accept-Encoding
    X-Content-Type-Options: nosniff
    Server: cloudflare-nginx
    CF-RAY: 2713314d2ffa281c-SJC
     
  12. eva2000

    eva2000 Administrator Staff Member

    29,000
    6,580
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,770
    Local Time:
    9:41 PM
    Nginx 1.13.x
    MariaDB 5.5
    browser does see it though see dev tools network tab

    upload_2016-2-8_10-26-8.png
     
    • Like Like x 1