:web: pottwal: Prepare reverse proxy for prosody XMPP/Jabber server

The container can serve HTTP for yet unknown reasons, but that port is
not yet exposed.  Do NOT confuse this with the old static website
jabber.n39.eu which was decoupled from prosody and plain HTML only.

The reverse proxy is used to make the static website available, and to
let dehydrated renew the certs.  The certs are used for https to the
static website _and_ for the XMPP server itself!
This commit is contained in:
Alexander Dahl 2022-07-08 07:16:55 +02:00
parent caf1e0e123
commit e9ca246090

View file

@ -158,6 +158,14 @@
volumes: volumes:
- "{{ prosody_data }}/var/www:/public:ro" - "{{ prosody_data }}/var/www:/public:ro"
- name: Setup proxy site jabber.n39.eu
# point to static website for now
include_role:
name: setup-http-site-proxy
vars:
site_name: "jabber.n39.eu"
proxy_port: "{{ jabber_host_port }}"
- name: Check if hedgedoc data dir exists - name: Check if hedgedoc data dir exists
ansible.builtin.stat: ansible.builtin.stat:
path: "{{ data_dir }}/hedgedoc" path: "{{ data_dir }}/hedgedoc"