Guest User

Untitled

a guest
Jul 15th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. server {
  2. listen 80 default;
  3. server_name localhost;
  4.  
  5. root /srv/ecp/ecp;
  6.  
  7. gzip on;
  8. gzip_types text/plain text/html text/css text/javascript;
  9. gzip_disable "MSIE [1-6].(?!.*SV1)";
  10. gzip_vary on;
  11.  
  12. location /store {
  13. root /srv/ecp;
  14. }
  15.  
  16. location /favicon.ico {
  17. root /srv/ecp/static/img;
  18. }
  19.  
  20. location / { try_files $uri @ecp; }
  21.  
  22. location @ecp {
  23. include uwsgi_params;
  24. uwsgi_pass unix:/tmp/uwsgi.sock;
  25. }
  26. }
Add Comment
Please, Sign In to add comment