1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/osada_ynh.git synced 2024-09-03 19:46:30 +02:00

Fixed nginx error

This commit is contained in:
anmol 2018-11-03 05:49:21 +05:30
parent 5dcc1d3b92
commit c2547415a6
3 changed files with 4 additions and 4 deletions

View file

@ -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;
}
}

View file

@ -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;

View file

@ -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