ansible/roles/mediawiki/defaults/main.yml

51 lines
1.1 KiB
YAML

---
mediawiki_domain: wiki.ccchb.de
mediawiki_webroot: /var/www/wiki.ccchb.de/webroot
mediawiki_path: /w
mediawiki_extensions:
- CategoryTree
- ParserFunctions
- PdfHandler
- Renameuser
- Interwiki
- ConfirmEdit
- ConfirmEdit/QuestyCaptcha
- WikiEditor
- MobileFrontend
- VisualEditor
- OATHAuth
mediawiki_skins:
- MonoBook
- Timeless
- Vector
- MinervaNeue
mediawiki_sitename: "CCC Bremen"
mediawiki_email: "webmaster@ccchb.de"
mediawiki_install_nginx: true
mediawiki_php_socket: "unix:/run/php/php7.3-fpm.sock"
mediawiki_nginx_conf: |
listen [::]:443 ssl http2;
listen 443 ssl http2;
server_name {{ mediawiki_domain }};
root {{ mediawiki_webroot }};
ssl_certificate /etc/letsencrypt/live/{{ mediawiki_domain }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/{{ mediawiki_domain }}/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/{{ mediawiki_domain }}/chain.pem;
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
client_max_body_size 100M;
include snippets/certbot.conf;
...