t

alpn 추가 해보았습니다.~

https://z9n.net/

 

[code]

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;
    }
}

[/code]

|

댓글 3개

listen 443 ssl;
이렇게만 설정 되면 불이 안들어 오더라구요 ㅎㅎ
@terrorboy http2 가 있어야지요....ㅎㅎ
@亞波治 예전 부터 쓰던거라 ㅎㅎㅎ
댓글을 작성하시려면 로그인이 필요합니다.

자유게시판

+
제목 글쓴이 날짜 조회
8년 전 조회 1,203
8년 전 조회 1,192
8년 전 조회 1,332
8년 전 조회 1,187
8년 전 조회 1,159
8년 전 조회 965
8년 전 조회 905
8년 전 조회 1,020
8년 전 조회 1,181
8년 전 조회 1,842
8년 전 조회 1,150
8년 전 조회 1,313
8년 전 조회 2,173
8년 전 조회 1,282
8년 전 조회 792
8년 전 조회 1,171
8년 전 조회 1,135
8년 전 조회 1,186
8년 전 조회 1,135
8년 전 조회 1,389
8년 전 조회 1,208
8년 전 조회 1,142
8년 전 조회 771
8년 전 조회 1,133
8년 전 조회 1,117
8년 전 조회 1,115
8년 전 조회 1,192
8년 전 조회 1,175
8년 전 조회 1,828
8년 전 조회 1,477