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