Advertisement
Guest User

Untitled

a guest
Dec 18th, 2014
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. server {
  2. listen 80;
  3. server_name tiger-1.p-cart.com;
  4.  
  5. access_log /var/log/nginx/server_manager_access.log;
  6. error_log /var/log/nginx/server_manager_error.log;
  7.  
  8. proxy_hide_header "Set-Cookie";
  9. proxy_ignore_headers "Cache-Control" "Expires";
  10.  
  11. set_real_ip_from 10.0.0.1;
  12. #satisfy any;
  13. #allow 93.78.237.43; # 7bits office
  14. #allow 93.78.114.7; # Oleg home
  15. #allow 94.75.245.143; # drom -> sitepanel
  16. #allow 144.76.76.189; # 1C cloud (sql-a, sql-b sql-ssd)
  17. #allow 148.251.57.84;
  18. #allow 148.251.57.85;
  19. #allow 5.10.89.74; # copperegg
  20. #deny all;
  21. #auth_basic "closed site";
  22. #auth_basic_user_file /home/zale/tmp/.htpasswd;
  23. #include /home/zale/tmp/open_ip.conf;
  24.  
  25. location / {
  26. uwsgi_pass unix:///tmp/server_manager.sock;
  27. include uwsgi_params;
  28. }
  29.  
  30. location /media/ {
  31. alias /home/webprod/projects/server_manager/media/;
  32. }
  33. location /static/ {
  34. alias /home/webprod/projects/server_manager/static/;
  35. }
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement