Files
interchan/nginx.conf
2022-07-18 19:17:42 -07:00

21 lines
422 B
Nginx Configuration File

server {
listen 80;
server_name _;
location /static {
root /usr/share/nginx/html;
}
location /media {
root /usr/share/nginx/html;
}
location / {
include uwsgi_params;
uwsgi_pass app:3031;
uwsgi_param HTTP_X-Forwarded-For $proxy_add_x_forwarded_for;
uwsgi_param REMOTE_ADDR $proxy_add_x_forwarded_for;
client_max_body_size 26M;
}
}