diff/nginx.conf

16 lines
341 B
Nginx Configuration File

server {
listen 80;
server_name diff.digitalstudium.com;
client_max_body_size 0;
location / {
include uwsgi_params;
uwsgi_pass unix:///tmp/diff.sock;
proxy_buffering off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
}
}