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:
parent
5dcc1d3b92
commit
c2547415a6
3 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@
|
||||||
if (!-e $request_filename)
|
if (!-e $request_filename)
|
||||||
|
|
||||||
{
|
{
|
||||||
rewrite ^(.*)$ /index.php?q=$1;
|
rewrite ^(.*)$ /index.php?req=$1;
|
||||||
}
|
}
|
||||||
|
|
||||||
client_max_body_size 20m;
|
client_max_body_size 20m;
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
allow all;
|
allow all;
|
||||||
if (!-e $request_filename)
|
if (!-e $request_filename)
|
||||||
{
|
{
|
||||||
rewrite ^(.*)$ /index.php?q=$1;
|
rewrite ^(.*)$ /index.php?req=$1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -401,4 +401,4 @@ catch_workers_output = yes
|
||||||
; max_input_time = 300
|
; max_input_time = 300
|
||||||
; memory_limit = 256M
|
; memory_limit = 256M
|
||||||
; short_open_tag = On
|
; short_open_tag = On
|
||||||
cgi.fix_pathinfo = 0;
|
; cgi.fix_pathinfo = 0;
|
||||||
|
|
|
@ -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
|
*/10 * * * * __USER__ cd YNH_WWW_PATH; /usr/bin/php Zotlabs/Daemon/Master.php Cron > /dev/null 2>&1
|
||||||
|
|
Loading…
Add table
Reference in a new issue