Re: reverse proxy with dns control

2022-04-14 Thread Francis Daly
On Thu, Apr 14, 2022 at 07:02:28AM -0400, arx wrote: Hi there, > the important thing for me is the dns, the port is static and no server do > the check, > the problem that I don't know how it is calls the variable with what name > the client makes the request (the dns that is invoked in the GET

Re: reverse proxy with dns control

2022-04-14 Thread arx
I succeeded, practically the directives roxy_buffering off; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header Host $host; they had to be placed on top location "if ($host ~ testdns) { and under location / { now I should make an external

Re: reverse proxy with dns control

2022-04-14 Thread arx
the important thing for me is the dns, the port is static and no server do the check, the problem that I don't know how it is calls the variable with what name the client makes the request (the dns that is invoked in the GET method by the client) present in access.log [14/Apr/2022:12:22:57 +0200]

Re: reverse proxy with dns control

2022-04-14 Thread Francis Daly
On Wed, Apr 13, 2022 at 07:43:48AM -0400, arx wrote: Hi there, > for security problems on my server, I should create a reverse proxy that > allows only those who use the dns provided by me to be able to pass. > practically I make a list with the incoming dns and I pass only those to my > main

Re: reverse proxy with dns control

2022-04-14 Thread arx
like something like that server { listen port; location / { if ($http_host ~ "dnsinput:port") { proxy_buffering off; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header

reverse proxy with dns control

2022-04-13 Thread arx
Hi guys, for security problems on my server, I should create a reverse proxy that allows only those who use the dns provided by me to be able to pass. practically I make a list with the incoming dns and I pass only those to my main server behind the reverse. is it possible to do this? thank you