Commit 21f94da8 by 泽锋 李

新增ssl证书文件夹

parent 9db6c1da
FROM nginx:1.15-alpine
COPY data-nginx/nginx.conf /etc/nginx/nginx.conf
COPY ssl/ /etc/nginx/ssl/
COPY data-nginx/. /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
......@@ -258,10 +258,10 @@ http {
}
}
# 转发facebook messenger ssl
server{
server {
listen 443 ssl;
server_name webhook.bailuntec.com;
root /ssl/webhook/ ;
root /ssl/webhook/;
ssl_certificate server.crt;
ssl_certificate_key server.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment