Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name tiger-1.p-cart.com;
- access_log /var/log/nginx/server_manager_access.log;
- error_log /var/log/nginx/server_manager_error.log;
- proxy_hide_header "Set-Cookie";
- proxy_ignore_headers "Cache-Control" "Expires";
- set_real_ip_from 10.0.0.1;
- #satisfy any;
- #allow 93.78.237.43; # 7bits office
- #allow 93.78.114.7; # Oleg home
- #allow 94.75.245.143; # drom -> sitepanel
- #allow 144.76.76.189; # 1C cloud (sql-a, sql-b sql-ssd)
- #allow 148.251.57.84;
- #allow 148.251.57.85;
- #allow 5.10.89.74; # copperegg
- #deny all;
- #auth_basic "closed site";
- #auth_basic_user_file /home/zale/tmp/.htpasswd;
- #include /home/zale/tmp/open_ip.conf;
- location / {
- uwsgi_pass unix:///tmp/server_manager.sock;
- include uwsgi_params;
- }
- location /media/ {
- alias /home/webprod/projects/server_manager/media/;
- }
- location /static/ {
- alias /home/webprod/projects/server_manager/static/;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement