1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2024-11-22 03:46:29 +00:00

Merge pull request #344 from schmunk42/feature/error-code

changed error code for non-usable/default SSL cert, fixes #341
This commit is contained in:
Jason Wilder 2016-06-12 15:54:40 -06:00 committed by GitHub
commit d1e6e1c0be

View File

@ -213,7 +213,7 @@ server {
server_name {{ $host }};
listen 443 ssl http2 {{ $default_server }};
access_log /var/log/nginx/access.log vhost;
return 503;
return 500;
ssl_certificate /etc/nginx/certs/default.crt;
ssl_certificate_key /etc/nginx/certs/default.key;