From 8492280db2686e42123fe5d254d8a3223a1c3c0d Mon Sep 17 00:00:00 2001 From: Basil Bruhn Date: Mon, 24 Nov 2025 10:36:12 +0100 Subject: [PATCH] nginx conf Signed-off-by: Basil Bruhn --- conf.d/fluid-eos-test.conf | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/conf.d/fluid-eos-test.conf b/conf.d/fluid-eos-test.conf index 4c14d97..c68a73f 100644 --- a/conf.d/fluid-eos-test.conf +++ b/conf.d/fluid-eos-test.conf @@ -1,4 +1,3 @@ -# Churakov Sergey - ISPD migration server { listen 80; server_name fluid-eos-test.psi.ch; @@ -10,20 +9,22 @@ server { listen 443 ssl; server_name fluid-eos-test.psi.ch; - root /opt/webcontent/fluid-eos; - index index.html; - ssl_certificate /etc/nginx/certs/fluid-eos-test.psi.ch.crt; ssl_certificate_key /etc/nginx/private/fluid-eos-test.psi.ch.key; access_log /var/log/nginx/fluid-eos-test.access.log; error_log /var/log/nginx/fluid-eos-test.error.log; + # Proxy EVERYTHING to the Apache container location / { - autoindex on; - autoindex_exact_size off; - autoindex_localtime on; + proxy_pass http://apache-fluid-eos:80; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + + # Important for CGI apps + proxy_buffering off; } }