Skip to content
Snippets Groups Projects
Commit dc99fc21 authored by Grazyna Jaworska's avatar Grazyna Jaworska Committed by anarcat
Browse files

Add support for wget cron in the Nginx configuration.

parent 1146a4cc
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment