We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e33665 commit 98fee87Copy full SHA for 98fee87
templates/nginx.j2
@@ -211,10 +211,12 @@ http {
211
## Include the Nginx stub status allowed hosts configuration block.
212
include nginx_status_allowed_hosts.conf;
213
214
+ {%- if not nginx_drupal_use_drush %}
215
## If you want to run cron using Drupal cron.php. i.e., you're not
216
## using drush then uncomment the line below. Specify in
217
## cron_allowed_hosts.conf which hosts can invole cron.
- # include apps/drupal/cron_allowed_hosts.conf;
218
+ include apps/drupal/cron_allowed_hosts.conf;
219
+ {%- endif -%}
220
221
## Include blacklist for bad bot and referer blocking.
222
include blacklist.conf;
0 commit comments