diff --git a/templates.d/nginx-hard.conf.txt b/templates.d/nginx-hard.conf.txt index 922c7e9..927ff28 100755 --- a/templates.d/nginx-hard.conf.txt +++ b/templates.d/nginx-hard.conf.txt @@ -144,7 +144,6 @@ http { %1% gir ; - %%ENDCSV %%ELSE # no foreignmap subs @@ -495,7 +494,6 @@ http { if ( $host ~* "%1%" ) { return %3% %2%$request_uri; } - %%ENDCSV %%ELSE # no redirect_hosts @@ -507,7 +505,6 @@ http { location ~* "%1%" { return %3% %2%$request_uri; } - %%ENDCSV %%ELSE # no redirect_locations @@ -528,7 +525,6 @@ http { location ~* %1% { return 200 %2%; } - %%ENDCSV %%ELSE # no hardcoded_endpoints diff --git a/templates.d/nginx.conf.txt b/templates.d/nginx.conf.txt index f57cb3f..5fa40e7 100755 --- a/templates.d/nginx.conf.txt +++ b/templates.d/nginx.conf.txt @@ -162,14 +162,12 @@ http { $1/$2%1% gir ; - # for %4% -> %1% anchored with hex-encoded slashes subs_filter %%2F%%2F(([-0-9a-z]+\\.)+)?%6%\\b %%2F%%2F$1%1% gir ; - %%ENDCSV %%ELSE # no foreignmap subs @@ -547,7 +545,6 @@ http { if ( $host ~* "%1%" ) { return %3% %2%$request_uri; } - %%ENDCSV %%ELSE # no redirect_hosts @@ -559,7 +556,6 @@ http { location ~* "%1%" { return %3% %2%$request_uri; } - %%ENDCSV %%ELSE # no redirect_locations @@ -580,7 +576,6 @@ http { location ~* %1% { return 200 %2%; } - %%ENDCSV %%ELSE # no hardcoded_endpoints