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 = ''
|
||||
upload_max_filesize = 512M
|
||||
post_max_size = 512M
|
||||
max_execution_time = 1000
|
||||
max_input_time = 2000
|
||||
default_socket_timeout = 2000
|
||||
'';
|
||||
|
||||
services.nginx.clientMaxBodySize = "512M";
|
||||
|
||||
services.mediawiki = {
|
||||
enable = true;
|
||||
|
||||
|
@ -102,7 +107,7 @@ in
|
|||
define("NS_ARCHIVE", 3000);
|
||||
define("NS_ARCHIVE_TALK", 3001);
|
||||
$wgExtraNamespaces[NS_ARCHIVE] = "Archive";
|
||||
$wgExtraNamespaces[NS_ARCHIVE_TALK] = "Archive_talk";
|
||||
$wgExtraNamespaces[NS_ARCHIVE_TALK] = "Discussion_archive";
|
||||
|
||||
# Debug
|
||||
$wgShowExceptionDetails = true;
|
||||
|
|
Loading…
Reference in New Issue