diff --git a/config/nginx.conf.erb b/config/nginx.conf.erb index 3435fc6dc4a..9a62e8499f8 100644 --- a/config/nginx.conf.erb +++ b/config/nginx.conf.erb @@ -141,7 +141,7 @@ http { location / { proxy_pass http://localhost:9000; } - <% elsif ['USE_FASTBOOT'] %> + <% elsif ENV['USE_FASTBOOT'] && !ENV['USE_FASTBOOT'].empty? %> # Fastboot is enabled only for allowed paths location = /policies {