I wanted to do a conditional addition to fastcgi params: if ($http_host ~* 'secure-') { fastcgi_param HTTPS on; } However, nginx returns with "fastcgi_param is not allowed here" Any way to allow fastcgi_params to be included in a dynamic block?