Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. server {
  2. listen 80 default_server;
  3. server_name _;
  4. client_max_body_size 10m;
  5.  
  6. location /static/ {
  7. root /srv/yyyyy;
  8. }
  9.  
  10. location /media/ {
  11. root /srv/yyyyy;
  12. }
  13.  
  14. # Proxy Pass to Gunicorn
  15. location / {
  16. include proxy_params;
  17. proxy_pass http://unix:/srv/yyyyy/proxy_pass.sock;
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement