Learn about Centmin Mod LEMP Stack today
Register Now

Hello from new user ;D

Discussion in 'Introductions' started by Daniel, Sep 3, 2014.

  1. Daniel

    Daniel New Member

    5
    1
    1
    Sep 3, 2014
    Ratings:
    +1
    Local Time:
    11:48 PM
    1.7.4
    10
    Hello there,
    I'm new here, and also, I'm a newbie in server case.
    And I'm interested with centmin, so I use it. Now I have a trouble with it, so
    I join this forum to get resolve and to learn from all of you ^_^
     
  2. eva2000

    eva2000 Administrator Staff Member

    31,001
    6,920
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,426
    Local Time:
    1:48 AM
    Nginx 1.13.x
    MariaDB 5.5
  3. Daniel

    Daniel New Member

    5
    1
    1
    Sep 3, 2014
    Ratings:
    +1
    Local Time:
    11:48 PM
    1.7.4
    10
    Thank you @eva2000
    When I check use curl -I mydomain, why it show :
    HTTP/1.1 301 Moved Permanently?
    and sorry I wrote in wrong room.
     
  4. eva2000

    eva2000 Administrator Staff Member

    31,001
    6,920
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,426
    Local Time:
    1:48 AM
    Nginx 1.13.x
    MariaDB 5.5
    if you have configured nginx with rewrite rules

    i.e. for forum script and they have 301 rewrite for https SSL then you'd have 301 with non-https url


    Code:
    curl -I http://community.centminmod.com
    HTTP/1.1 301 Moved Permanently
    Server: nginx centminmod
    Date: Wed, 03 Sep 2014 03:42:55 GMT
    Content-Type: text/html
    Content-Length: 178
    Connection: keep-alive
    Location: https://community.centminmod.com/
    
    Code:
    curl -I https://community.centminmod.com
    HTTP/1.1 200 OK
    Server: nginx centminmod
    Content-Type: text/html; charset=UTF-8
    Connection: keep-alive
    Vary: Accept-Encoding
    Set-Cookie: xf_session=XXXXX; path=/; secure; httponly
    Strict-Transport-Security: max-age=31536000; includeSubdomains
    Alternate-Protocol: 443:npn-spdy/3
    Date: Wed, 03 Sep 2014 03:43:02 GMT
    X-Page-Speed: 1.8.31.4-4009
    Cache-Control: max-age=0, no-cache