hi,
i have configurd my website on iis(localhost:8087
i want to use nginx to call my site.
so this is how i have configured nginx.conf file
( in two diffrent way pls tel me which one is better)
and also tel me it any thing is worng.
location /ptk/jbl1/ {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_cookie_path ~*^/.* /;
proxy_read_timeout 600;
client_max_body_size 500M;
proxy_pass http://localhost:8076/;
}
location /ptk/jbl12/ {
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:8076/;
}
yours sinclerey