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,193
8년 전 조회 1,180
8년 전 조회 1,320
8년 전 조회 1,176
8년 전 조회 1,143
8년 전 조회 952
8년 전 조회 894
8년 전 조회 1,006
8년 전 조회 1,171
8년 전 조회 1,824
8년 전 조회 1,134
8년 전 조회 1,298
8년 전 조회 2,153
8년 전 조회 1,260
8년 전 조회 777
8년 전 조회 1,154
8년 전 조회 1,119
8년 전 조회 1,162
8년 전 조회 1,117
8년 전 조회 1,376
8년 전 조회 1,196
8년 전 조회 1,124
8년 전 조회 756
8년 전 조회 1,114
8년 전 조회 1,105
8년 전 조회 1,093
8년 전 조회 1,155
8년 전 조회 1,156
8년 전 조회 1,806
8년 전 조회 1,461
🐛 버그신고