mirror of https://gitlab.crans.org/nounous/nixos
Increase upload size (for real this time)
parent
447f240742
commit
daaa4af268
|
@ -19,8 +19,13 @@ in
|
||||||
services.phpfpm.pools.mediawiki.phpOptions = ''
|
services.phpfpm.pools.mediawiki.phpOptions = ''
|
||||||
upload_max_filesize = 512M
|
upload_max_filesize = 512M
|
||||||
post_max_size = 512M
|
post_max_size = 512M
|
||||||
|
max_execution_time = 1000
|
||||||
|
max_input_time = 2000
|
||||||
|
default_socket_timeout = 2000
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
services.nginx.clientMaxBodySize = "512M";
|
||||||
|
|
||||||
services.mediawiki = {
|
services.mediawiki = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
@ -102,7 +107,7 @@ in
|
||||||
define("NS_ARCHIVE", 3000);
|
define("NS_ARCHIVE", 3000);
|
||||||
define("NS_ARCHIVE_TALK", 3001);
|
define("NS_ARCHIVE_TALK", 3001);
|
||||||
$wgExtraNamespaces[NS_ARCHIVE] = "Archive";
|
$wgExtraNamespaces[NS_ARCHIVE] = "Archive";
|
||||||
$wgExtraNamespaces[NS_ARCHIVE_TALK] = "Archive_talk";
|
$wgExtraNamespaces[NS_ARCHIVE_TALK] = "Discussion_archive";
|
||||||
|
|
||||||
# Debug
|
# Debug
|
||||||
$wgShowExceptionDetails = true;
|
$wgShowExceptionDetails = true;
|
||||||
|
|
Loading…
Reference in New Issue