server
    {
        listen 80 default_server reuseport;
        #listen [::]:80 default_server ipv6only=on;
        server_name _;
        return 500;
        access_log  /home/wwwlogs/access.log;
    }

server
    {
        listen 443 ssl http2 default_server reuseport;
        #listen [::]:443 default_server ipv6only=on;
        server_name _;
        ssl_certificate /usr/local/nginx/conf/ssl/default.pem;
        ssl_certificate_key /usr/local/nginx/conf/ssl/default.key;
        return 500;
        access_log  /home/wwwlogs/access.log;
    }

标签: none

添加新评论