lets assume that we have a requirement to proxy from https://nginxserverip:443 to https://backendserverip:443 as mentioned below,
https://nginxserverip:443 → nginx server → https://backendserverip:443
below is a code sample,
server {
server_name nginxserverip;
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host backendserverip;
proxy_set_header X-Forwarded-Proto https;
proxy_redirect off;
proxy_pass https://backendserverip/;
}
listen [::]:443 ssl;
listen 443 ssl;
ssl_certificate xxxxxxx.pem;
ssl_certificate_key xxxxxxxx.pem;
}
that’s it.
I feel tools such as SQL and various other tools and commands alongwith REST API are very useful for beginners and even qualified professionals to find out about solutions in the testing phase.
ReplyDeleteSQL Server Load Soap Api
Good Blog.Thanks for sharing useful information..
ReplyDeleteDevOps Training
DevOps Online Training