From 2a95f63f3bb92be1504c42137b970944612887d3 Mon Sep 17 00:00:00 2001 From: ritter_t Date: Wed, 8 Oct 2025 13:22:39 +0200 Subject: [PATCH] removed duplicated nginx conf file --- conf.d/it-dashboard.conf | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 conf.d/it-dashboard.conf diff --git a/conf.d/it-dashboard.conf b/conf.d/it-dashboard.conf deleted file mode 100644 index 124d9c0..0000000 --- a/conf.d/it-dashboard.conf +++ /dev/null @@ -1,28 +0,0 @@ -server { - listen 80; - server_name it-strategy-dashboard.psi.ch; - return 301 https://$host$request_uri; -} - -server { - listen 443 ssl; - server_name it-strategy-dashboard.psi.ch; - - ssl_certificate /etc/nginx/certs/it-strategy-dashboard.psi.ch.crt; - ssl_certificate_key /etc/nginx/private/it-strategy-dashboard.psi.ch.key; - - root /opt/webcontent/it-strategy-dashboard; - index index.html; - - location / { - try_files $uri /index.html; - } - - location /api/ { - proxy_pass http://it-strategy-dashboard-backend:8080; - 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; - } -}