Livejournal
Log in
Post
Friends
My journal
alikus
Проксирование на память
alikus
Nov 20, 2013 18:52
location / {
proxy_pass
https://proxy.example.com;
proxy_set_header X-Forwarded-For $http_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host example.com;
}
proxy
,
nginx
Leave a comment
1
Доступ по HTTP Basic Auth в nginx исключая IP.
alikus
Aug 12, 2013 17:42
location / {
satisfy any;
allow 91.225.236.99;
deny all;
auth_basic "Dev Zone";
auth_basic_user_file /home/user/htpasswd;
}
nginx
Leave a comment
Up