removed unecessary if block

This commit is contained in:
Kasra Bigdeli
2019-11-10 23:09:55 -05:00
parent accf6628e7
commit f912d532a8

View File

@@ -21,11 +21,7 @@ if (s.forceSsl) {
%>
<%
if (!s.forceSsl || s.hasSsl) {
%>
server {
server {
<%
if (!s.forceSsl) {
@@ -96,8 +92,4 @@ if (!s.forceSsl || s.hasSsl) {
root <%-s.customErrorPagesDirectory%>;
internal;
}
}
<%
}
%>