Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Set NGINX as localhost proxy and set headers

$
0
0
Hello,

I need something (I think) simple.For some tests I execute want to use NGNIX as proxy on localhost , and to set some headers for each HTTP request.

Looks like adding headers is pretty easy - I need just to use add_header ...
But is it possible to use NGINX as a proxy server on localhost (on windows).
So I'll be able to set it as a proxy via LAN settings.
I've just used some example configs but and started the nginx , but when I set is as a proxy the browsers stop working.


Best regards.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>