http://aha00a.kr/something to http://aha00a.com/something.http://aha00a.com/something to https://aha00a.com/something..confaccess.logrewrite ^(.*) $scheme://$host$1 permanent;
http://aha00a.kr/something to http://aha00a.com/something.
server
{
server_name aha00a.kr;
rewrite ^(.*) $scheme://aha00a.com$1 permanent;
}http://aha00a.com/something to https://aha00a.com/something.
server
{
listen 80;
server_name aha00a.com;
rewrite ^(.*) https://$host$1 permanent;
}
upstream localhost_upstream {
server localhost:10001;
server localhost:10002;
}
server {
location / {
proxy_pass http://localhost_upstream/;
}
}.conf
server {
client_max_body_size 20M;
}access.log
cat access.log | grep "GET /some/path/" | perl -pe 's{^.* \[([^]]+)\] "GET /some/path/([\S]+).*$}{$1\t$2}g'
Windows에서 load balancing이 안되는 문제가 있는데, 아래 설정을 넣어주면 해결됨. --2017-08-11
proxy_connect_timeout 2s;
7.2. Similar PagesSimilar pages by cosine similarity. Words after page name are term frequency.
|