From 464a27d690a76b1c4c5003582522e1b78d0d6777 Mon Sep 17 00:00:00 2001 From: Basil Bruhn Date: Wed, 5 Aug 2026 18:55:05 +0200 Subject: [PATCH] archive cost Signed-off-by: Basil Bruhn --- conf.d/archivecostwebapp.conf | 44 ----------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 conf.d/archivecostwebapp.conf diff --git a/conf.d/archivecostwebapp.conf b/conf.d/archivecostwebapp.conf deleted file mode 100644 index 1c4733a..0000000 --- a/conf.d/archivecostwebapp.conf +++ /dev/null @@ -1,44 +0,0 @@ -server { - listen 80; - server_name archivecostwebapp.psi.ch; - return 301 https://$host$request_uri; -} - -server { - listen 443 ssl; - server_name archivecostwebapp.psi.ch; - - ssl_certificate /etc/nginx/certs/archivecostwebapp.psi.ch.crt; - ssl_certificate_key /etc/nginx/private/archivecostwebapp.psi.ch.key; - - ssl_protocols TLSv1.2 TLSv1.3; - ssl_ciphers HIGH:!aNULL:!MD5; - ssl_prefer_server_ciphers on; - - location / { - proxy_pass http://archive_cost_analytics:8501; - - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - - 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 X-Forwarded-Proto $scheme; - } - - location /logic/ { - proxy_pass http://archive_cost_logic:1880/; - - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - - 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 X-Forwarded-Proto $scheme; - - } -}