From 34bb7c77dbeb1ce1ea5ab023eeb36f0300da20d1 Mon Sep 17 00:00:00 2001 From: Artur Date: Tue, 29 Oct 2024 21:20:29 +0100 Subject: [PATCH] Adding job-finder.arti24.eu --- nginx-config/https/https-ai-arti24-eu.conf | 4 +-- .../https/https-job-finder-arti24-eu.conf | 29 +++++++++++++++++++ 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 nginx-config/https/https-job-finder-arti24-eu.conf diff --git a/nginx-config/https/https-ai-arti24-eu.conf b/nginx-config/https/https-ai-arti24-eu.conf index 757dd35..8be0664 100644 --- a/nginx-config/https/https-ai-arti24-eu.conf +++ b/nginx-config/https/https-ai-arti24-eu.conf @@ -1,7 +1,7 @@ server { listen 443 ssl; - server_name ai.arti24.eu; + server_name job-finder.arti24.eu; server_tokens off; @@ -14,7 +14,7 @@ server { location / { - proxy_pass http://chat-gpt:5000; + proxy_pass http://job-finder:8801; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; diff --git a/nginx-config/https/https-job-finder-arti24-eu.conf b/nginx-config/https/https-job-finder-arti24-eu.conf new file mode 100644 index 0000000..757dd35 --- /dev/null +++ b/nginx-config/https/https-job-finder-arti24-eu.conf @@ -0,0 +1,29 @@ +server { + + listen 443 ssl; + server_name ai.arti24.eu; + + server_tokens off; + + ssl_certificate /letsencrypt/live/arti24.eu/fullchain.pem; + ssl_certificate_key /letsencrypt/live/arti24.eu/privkey.pem; + + ssl_protocols TLSv1 TLSv1.1 TLSv1.2; + ssl_ciphers HIGH:!aNULL:!MD5; + + + location / { + + proxy_pass http://chat-gpt:5000; + + 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; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-Host $host; + proxy_set_header X-Forwarded-Port $server_port; + } + + + +}