Saya menggunakan nginx sebagi LB,
Ip client yang saya dapat adalah IP nya LB bukan real ip client
berikut config nginx saya
location /evshop-mid/Sell {
limit_except POST {
deny all;
}
#rewrite /evshop/(.*) /$1 break;
add_header X-Frame-Options "DENY";
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $http_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $remote_addr;
proxy_pass http://sell-mid/evshop-devl-mid/Sell;
}
Mohon masukannya teman-teman smua