Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80 default_server;
- server_name _;
- client_max_body_size 10m;
- location /static/ {
- root /srv/yyyyy;
- }
- location /media/ {
- root /srv/yyyyy;
- }
- # Proxy Pass to Gunicorn
- location / {
- include proxy_params;
- proxy_pass http://unix:/srv/yyyyy/proxy_pass.sock;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement