Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root /path/to/django; # Where manage.py and the 'static' folder are located
- location /api {
- include uwsgi_params;
- proxy_pass 127.0.0.1:9090;
- }
- location /admin {
- include uwsgi_params;
- proxy_pass 127.0.0.1:9090;
- }
- location /static {
- try_files $uri $uri/ =404;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement