alpn 추가 해보았습니다.~ > 자유게시판

자유게시판

alpn 추가 해보았습니다.~ 정보

alpn 추가 해보았습니다.~

본문

https://z9n.net/

 


server {
    listen       443 ssl http2;
    server_name  z9n.net www.z9n.net z9in.net www.z9in.net;
    root    /home/c9;
    ssl_certificate "/etc/letsencrypt/live/z9n.net/fullchain.pem";
    ssl_certificate_key "/etc/letsencrypt/live/z9n.net/privkey.pem";
    ssl_dhparam "/etc/ssl/certs/dhparam.pem";
    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
    # Enable HSTS. This forces SSL on clients that respect it, most modern browsers. The includeSubDomains flag is optional.
    add_header Strict-Transport-Security "max-age=31536000";
    location / {
        index  index.php index.html;
    }
    #error_page  404              /404.html;
    # redirect server error pages to the static page /50x.html
    #
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   /usr/share/nginx/html;
    }
    # proxy the PHP scripts to Apache listening on 127.0.0.1:80
    #
    location ~ \.php$ {
        fastcgi_split_path_info ^(.+?\.php)(/.*)$;
        if (!-f $document_root$fastcgi_script_name) {
            return 404;
        }
        #proxy_pass   http://127.0.0.1;
        fastcgi_pass unix:/run/php/php7.1-fpm.sock;
        fastcgi_index index.php;
        include fastcgi_params;
    }

    # deny access to .htaccess files, if Apache's document root
    # concurs with nginx's one
    #
    location ~ /\.ht {
        deny  all;
    }
}
추천
0

댓글 3개

전체 199,642 |RSS
자유게시판 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT