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

changed error code for non-usable/default SSL cert, fixes #341

This commit is contained in:
Tobias Munk 2016-01-20 23:28:08 +01:00
parent f42bf9175d
commit b4e5f780e3

View File

@ -188,7 +188,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;