From 18e35ec3f64144763770f6de61191adb00a64beb Mon Sep 17 00:00:00 2001 From: zakhy Date: Thu, 10 Oct 2024 09:57:22 +0700 Subject: [PATCH] nginx.conf --- nginx/nginx.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 716c265..3c1ffa6 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -4,8 +4,7 @@ upstream gunicorn { server { listen 80; - server_name _; - return 301 https://$host$request_uri; + server_name cybercode.pro; location / { proxy_pass http://gunicorn; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;