mirror of
https://github.com/caprover/caprover
synced 2025-10-30 10:07:01 +00:00
removed unecessary if block
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
<%
|
||||
}
|
||||
%>
|
||||
|
||||
Reference in New Issue
Block a user