123456789101112131415161718192021222324252627 |
- # the upstream component nginx needs to connect to
- upstream django {
- server unix:/var/www/speed-rack/uwsgi.sock;
- #server 127.0.0.1:42001; # for a web port socket (we'll use this first)
- }
- # configuration of the server
- server {
- listen 80 default_server;
- server_name exga.maxproject.fr;
- charset utf-8;
- client_max_body_size 75M;
- location /static {
- alias /var/www/speed-rack/speed_rack/static;
- }
- location / {
- uwsgi_pass django;
- include /etc/nginx/uwsgi_params;
- }
- }
|