server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name wiki.exozy.me; ssl_certificate /etc/letsencrypt/live/exozy.me/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/exozy.me/privkey.pem; root /usr/share/webapps/mediawiki; index index.php; charset utf-8; # For correct file uploads client_max_body_size 100m; # Equal or more than upload_max_filesize in /etc/php7/php.ini client_body_timeout 60; include mediawiki.conf; }