mirror of https://gitlab.crans.org/nounous/nixos
Increase upload size
parent
dbd523bc85
commit
447f240742
|
@ -16,6 +16,11 @@ in
|
|||
owner = "mediawiki";
|
||||
};
|
||||
|
||||
services.phpfpm.pools.mediawiki.phpOptions = ''
|
||||
upload_max_filesize = 512M
|
||||
post_max_size = 512M
|
||||
'';
|
||||
|
||||
services.mediawiki = {
|
||||
enable = true;
|
||||
|
||||
|
@ -32,6 +37,9 @@ in
|
|||
$wgFavicon = 'https://www.crans.org/images/favicon.ico';
|
||||
$wgLogo = 'https://www.crans.org/images/crans.svg';
|
||||
|
||||
# Files and Uploads
|
||||
$wgMaxUploadSize = 512 * 1024 * 1024;
|
||||
|
||||
# E-mail settings
|
||||
$wgEnableEmail = true;
|
||||
# $wgSMTP = [
|
||||
|
|
Loading…
Reference in New Issue