From c2547415a649a56ec60d07daefa87bf835c29b92 Mon Sep 17 00:00:00 2001 From: anmol Date: Sat, 3 Nov 2018 05:49:21 +0530 Subject: [PATCH] Fixed nginx error --- conf/nginx.conf | 4 ++-- conf/php-fpm.conf | 2 +- conf/poller-cron | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 4ca9476..9ce815e 100755 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -11,7 +11,7 @@ if (!-e $request_filename) { - rewrite ^(.*)$ /index.php?q=$1; + rewrite ^(.*)$ /index.php?req=$1; } client_max_body_size 20m; @@ -39,7 +39,7 @@ allow all; if (!-e $request_filename) { - rewrite ^(.*)$ /index.php?q=$1; + rewrite ^(.*)$ /index.php?req=$1; } } diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index 9955793..096bb76 100755 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -401,4 +401,4 @@ catch_workers_output = yes ; max_input_time = 300 ; memory_limit = 256M ; short_open_tag = On -cgi.fix_pathinfo = 0; +; cgi.fix_pathinfo = 0; diff --git a/conf/poller-cron b/conf/poller-cron index cd3d674..0808434 100755 --- a/conf/poller-cron +++ b/conf/poller-cron @@ -1,2 +1,2 @@ -# Run poller periodically to update Hubzilla +# Run poller periodically to update Osada */10 * * * * __USER__ cd YNH_WWW_PATH; /usr/bin/php Zotlabs/Daemon/Master.php Cron > /dev/null 2>&1