Fix the condition for the Let's Encrypt cert in the template

The line contained an extra !
This commit is contained in:
Greg 2020-06-02 16:16:30 +02:00
parent 27845525da
commit 0c502580c2

View File

@ -4,7 +4,7 @@ upstream _gitea {
}
server {
<% if File.exist?(@ssl_cert) && !File.exist?(@ssl_key) -%>
<% if File.exist?(@ssl_cert) && File.exist?(@ssl_key) -%>
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name <%= @server_name %>;