diff --git a/internal/configs/version1/nginx-plus.tmpl b/internal/configs/version1/nginx-plus.tmpl index 87967d6c9b..c1e26364d5 100644 --- a/internal/configs/version1/nginx-plus.tmpl +++ b/internal/configs/version1/nginx-plus.tmpl @@ -26,9 +26,7 @@ load_module modules/ngx_http_app_protect_dos_module.so; {{$value}}{{end}} {{- end}} -{{if .PreviewPolicies}} load_module modules/ngx_http_js_module.so; -{{- end}} events { worker_connections {{.WorkerConnections}}; @@ -137,9 +135,7 @@ http { {{if .ResolverTimeout}}resolver_timeout {{.ResolverTimeout}};{{end}} {{end}} - {{if .PreviewPolicies}} include oidc/oidc_common.conf; - {{- end}} server { # required to support the Websocket protocol in VirtualServer/VirtualServerRoutes