nginx.conf

This commit is contained in:
zakhy 2024-10-10 09:57:22 +07:00
parent f7d2b92957
commit 18e35ec3f6

View File

@ -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;