mirror of
https://github.com/YunoHost-Apps/lionwiki-t2t_ynh.git
synced 2024-09-03 19:36:27 +02:00
fixes upload problem
This commit is contained in:
parent
346607b531
commit
16f43d9bf0
2 changed files with 6 additions and 2 deletions
|
@ -74,9 +74,9 @@ $START_PAGE = 'main'; // Which page should be default (start page)?
|
||||||
$RSS = '<a href="./var/rss.xml">RSS</a>';
|
$RSS = '<a href="./var/rss.xml">RSS</a>';
|
||||||
|
|
||||||
// if needed (if autodetection doesn't work), force language
|
// if needed (if autodetection doesn't work), force language
|
||||||
$LANG = en;
|
$LANG = __LANGUAGE__;
|
||||||
//$LANG = __LANGUAGE__;
|
|
||||||
// (it looks like forcing another language crashes lionwiki so it's better to keep LANG=en at the moment... autodetection seems to work anyway)
|
// (it looks like forcing another language crashes lionwiki so it's better to keep LANG=en at the moment... autodetection seems to work anyway)
|
||||||
|
$LANG = en;
|
||||||
|
|
||||||
/* see the file config.t2t to tweak the syntax and even more! */
|
/* see the file config.t2t to tweak the syntax and even more! */
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,10 @@ location __PATH__/ {
|
||||||
fastcgi_param REMOTE_USER $remote_user;
|
fastcgi_param REMOTE_USER $remote_user;
|
||||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||||
|
|
||||||
|
## fixes upload problem:
|
||||||
|
fastcgi_buffers 16 16k;
|
||||||
|
fastcgi_buffer_size 32k;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Don't include SSOWAT user panel (can lead to some server error, like "bad gateway")
|
# Don't include SSOWAT user panel (can lead to some server error, like "bad gateway")
|
||||||
|
|
Loading…
Reference in a new issue