flatpak-cache: setup a seperate website for flatpak-cache

We need this to be seperate from the main apps.ocp site, because that
one does a ssl redirect that we don't want it to.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2024-01-15 15:17:48 -08:00
parent a54cace26f
commit 0399029031
2 changed files with 19 additions and 0 deletions

View file

@ -914,3 +914,15 @@
tags:
- awx
when: env == "production"
- role: httpd/reverseproxy
website: "flatpak-cache{{ env_suffix }}.fedoraproject.org"
destname: apps.ocp
balancer_name: apps-ocp
balancer_members: "{{ (env == 'staging')|ternary(ocp_nodes_stg, ocp_nodes) }}"
targettype: openshift
ocp4: true
keephost: true
tags:
- flatpak-cache.stg.fedoraproject.org
when: env == "staging"

View file

@ -685,6 +685,13 @@
- ocp.stg.fedoraproject.org
when: env == "staging"
- role: httpd/website
site_name: flatpak-cache.stg.fedoraproject.org
sslonly: false
tags:
- flatpak-cache.stg.fedoraproject.org
when: env == "staging"
- role: httpd/website
site_name: apps.ocp.stg.fedoraproject.org
server_aliases: ["*.apps.ocp.stg.fedoraproject.org", api.apps.ocp.stg.fedoraproject.org]