Make the wiki publicly accessible and configure nginxs to give it https

This commit is contained in:
julian 2023-04-16 01:29:33 +02:00 committed by Jannik Beyerstedt
commit 9670b6494c
6 changed files with 119 additions and 10 deletions

View file

@ -3,3 +3,6 @@ nginx__deploy_redirect_conf: false
nginx__configurations:
- name: acme_challenge
content: "{{ lookup('ansible.builtin.file', 'configs/public-reverse-proxy/nginx/acme_challenge.conf') }}"
nginx__use_custom_nginx_conf: true
nginx__custom_nginx_conf: |
{{ lookup('file', 'configs/public-reverse-proxy/nginx/nginx.conf') }}

View file

@ -1,5 +1,7 @@
nginx__version_spec: ""
nginx__deploy_redirect_conf: false
nginx__configurations:
- name: http_handler
content: "{{ lookup('ansible.builtin.file', 'configs/wiki/nginx/http_handler.conf') }}"
- name: wiki.ccchh.net
content: "{{ lookup('ansible.builtin.file', 'configs/wiki/nginx/wiki.ccchh.net.conf') }}"