From 59417f290463d3aabbf3ec2ab8e75703928db217 Mon Sep 17 00:00:00 2001 From: Elizabeth Alexander Hunt Date: Sun, 4 May 2025 15:46:06 -0700 Subject: First attempt at CI --- .../outbound/templates/proxy/nginx/conf.d/ci.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 playbooks/roles/outbound/templates/proxy/nginx/conf.d/ci.conf (limited to 'playbooks/roles/outbound/templates/proxy/nginx') diff --git a/playbooks/roles/outbound/templates/proxy/nginx/conf.d/ci.conf b/playbooks/roles/outbound/templates/proxy/nginx/conf.d/ci.conf new file mode 100644 index 0000000..5e90596 --- /dev/null +++ b/playbooks/roles/outbound/templates/proxy/nginx/conf.d/ci.conf @@ -0,0 +1,19 @@ +server { + listen 80; + server_name ci.liz.coffee; + + real_ip_header X-Forwarded-For; + real_ip_recursive on; + set_real_ip_from {{ docker_network }}; + + location / { + proxy_pass https://{{ loadbalancer_ip }}; + proxy_ssl_verify off; + proxy_http_version 1.1; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + } +} -- cgit v1.2.3-70-g09d2