OpenConext / OpenConext-deploy

Ansible-based deployment automation for the OpenConext platform
Apache License 2.0
12 stars 21 forks source link

Feature/tiqr add apple api http2 proxy #417

Open quartje opened 1 year ago

quartje commented 1 year ago

The Apple Push Notification service (APNs) only supports http/2. Since curl shipped with CentOS7 only supports http/1 we are not able to send push messages to this Apple API. We use haproxy to create a simple reverse http proxy between the Apple API and the TIQR application to proxy the requests (since Haproxy understands http/2). On hosts where the whole stack is installed on 1 machine (and an Haproxy loadbalancer is already present) we add an extra back- and frontend for this purpose. TIQR can simple push the messages to http://localhost:5000