ansible/roles/mediawiki/defaults/main.yml

49 lines
1 KiB
YAML
Raw Normal View History

2021-02-02 12:27:37 -06:00
---
mediawiki_domain: wiki.ccchb.de
mediawiki_webroot: /var/www/wiki.ccchb.de/webroot
mediawiki_path: /w
2021-02-02 12:27:37 -06:00
mediawiki_extensions:
- CategoryTree
- ParserFunctions
- PdfHandler
- Renameuser
- Interwiki
- ConfirmEdit
- ConfirmEdit/QuestyCaptcha
- WikiEditor
- MobileFrontend
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;
2021-03-10 05:30:18 -06:00
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
client_max_body_size 100M;
include snippets/certbot.conf;
...