Commit dc99fc21 authored by omega8cc's avatar omega8cc Committed by anarcat

Add support for wget cron in the Nginx configuration.

parent 1146a4cc
......@@ -325,7 +325,7 @@
###
### send all non-static requests to php-fpm, restricted to known php files
###
location ~* ^/(?:index|boost_stats|update|authorize|xmlrpc)\.php$ {
location ~* ^/(?:index|cron|boost_stats|update|authorize|xmlrpc)\.php$ {
try_files $uri =404; ### check for existence of php file first
fastcgi_pass 127.0.0.1:9000; ### php-fpm listening on port 9000
track_uploads uploads 60s; ### required for upload progress
......
......@@ -311,7 +311,7 @@
###
### send all non-static requests to php-fpm, restricted to known php files
###
location ~* ^/(?:index|boost_stats|update|authorize|xmlrpc)\.php$ {
location ~* ^/(?:index|cron|boost_stats|update|authorize|xmlrpc)\.php$ {
try_files $uri =404; ### check for existence of php file first
fastcgi_pass 127.0.0.1:9000; ### php-fpm listening on port 9000
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment