Advertisement
Guest User

Untitled

a guest
Jul 4th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.28 KB | None | 0 0
  1. root /path/to/django; # Where manage.py and the 'static' folder are  located
  2.  
  3. location /api {
  4.     include uwsgi_params;
  5.     proxy_pass 127.0.0.1:9090;
  6. }
  7.  
  8. location /admin {
  9.     include uwsgi_params;
  10.     proxy_pass 127.0.0.1:9090;
  11. }
  12.  
  13. location /static {
  14.     try_files $uri $uri/ =404;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement