diff --git a/nginx/conf.d/default.conf b/nginx/conf.d/default.conf new file mode 100644 index 0000000..1fd56b5 --- /dev/null +++ b/nginx/conf.d/default.conf @@ -0,0 +1,11 @@ +server { + listen 80; + server_name yourdomain.com; # Replace with your domain + + location / { + proxy_pass http://uwsgi:5000; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + } +} \ No newline at end of file diff --git a/uwsgi.ini b/uwsgi.ini new file mode 100644 index 0000000..e69de29