Welcome to Centmin Mod Community
Register Now

Nginx No Status Response Header?

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

  1. rdan

    rdan Well-Known Member

    5,449
    1,410
    113
    May 25, 2014
    Ratings:
    +2,204
    Local Time:
    3:31 PM
    Mainline
    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:
    9:31 AM
    1.9.9
    10.1.10
    You are using cloudflare, it modifies the headers.
    Cloudflare might be removing it for some reason.
     
  3. rdan

    rdan Well-Known Member

    5,449
    1,410
    113
    May 25, 2014
    Ratings:
    +2,204
    Local Time:
    3:31 PM
    Mainline
    10.2
    No, other Cloudflare sites I tried still have it like @Xon 's site.
     
  4. rdan

    rdan Well-Known Member

    5,449
    1,410
    113
    May 25, 2014
    Ratings:
    +2,204
    Local Time:
    3:31 PM
    Mainline
    10.2
    Even own cloudflare site still include it:
    [​IMG]
     
  5. Xon

    Xon Active Member

    173
    61
    28
    Nov 16, 2015
    Ratings:
    +229
    Local Time:
    3:31 PM
    1.15.x
    MariaDB 10.3.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

    55,153
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    5:31 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    looking in wrong place ? Chrome 48

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

    rdan Well-Known Member

    5,449
    1,410
    113
    May 25, 2014
    Ratings:
    +2,204
    Local Time:
    3:31 PM
    Mainline
    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. rdan

    rdan Well-Known Member

    5,449
    1,410
    113
    May 25, 2014
    Ratings:
    +2,204
    Local Time:
    3:31 PM
    Mainline
    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

    55,153
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    5:31 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    funky :D
     
  10. rdan

    rdan Well-Known Member

    5,449
    1,410
    113
    May 25, 2014
    Ratings:
    +2,204
    Local Time:
    3:31 PM
    Mainline
    10.2
    Even your own site on HTTP don't have it Eva :D.
    Why is that? :/
     
  11. eva2000

    eva2000 Administrator Staff Member

    55,153
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    5:31 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    55,153
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    5:31 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    browser does see it though see dev tools network tab

    upload_2016-2-8_10-26-8.png