Fix the condition for the Let's Encrypt cert in the template
The line contained an extra !
This commit is contained in:
parent
27845525da
commit
0c502580c2
|
@ -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 %>;
|
||||
|
|
Loading…
Reference in New Issue
Block a user