diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-03-01 23:32:25 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-03-01 23:32:25 +0100 |
commit | 8a1178cb9785495784ef200757e5b8a61772290a (patch) | |
tree | 763e5079bfa9f8948bd1fd217731329b24d2d0d3 /etc/nginx/apps/drupal/cron_allowed_hosts.conf | |
parent | b03a3623188e2f7e32ca226877f6f4a28d4471db (diff) | |
download | deployment-8a1178cb9785495784ef200757e5b8a61772290a.tar.gz deployment-8a1178cb9785495784ef200757e5b8a61772290a.tar.bz2 deployment-8a1178cb9785495784ef200757e5b8a61772290a.zip |
missing drupal stuff
Diffstat (limited to 'etc/nginx/apps/drupal/cron_allowed_hosts.conf')
-rw-r--r-- | etc/nginx/apps/drupal/cron_allowed_hosts.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/nginx/apps/drupal/cron_allowed_hosts.conf b/etc/nginx/apps/drupal/cron_allowed_hosts.conf new file mode 100644 index 0000000..bdb3dd9 --- /dev/null +++ b/etc/nginx/apps/drupal/cron_allowed_hosts.conf @@ -0,0 +1,10 @@ +# -*- mode: nginx; mode:autopair; mode: flyspell-prog; ispell-local-dictionary: "american" -*- +### Configuration file for specifying which hosts can invoke Drupal's +### cron. This only applies if you're not using drush to run cron. + +geo $not_allowed_cron { + default 1; + ## Add your set of hosts. + 127.0.0.1 0; # allow the localhost + 192.168.1.0/24 0; # allow on an internal network +} |