Show all posts by user
Introduce yourselves
Page 1 of 1 Pages: 1
Results 1 - 5 of 5
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 file with all allowed dns I would like someone to help me with the syntax
by
arx
-
Nginx Mailing List - English
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] "GET /favicon.ico HTTP/1.1" 404 548 "http://DNS:PORT/" "Mozilla/5.0 (....
by
arx
-
Nginx Mailing List - English
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 Host $host;
proxy_pass dnsoutput:port;
}
}
}
it gives me syntax error
I get the input from the file
by
arx
-
Nginx Mailing List - English
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 all
by
arx
-
Nginx Mailing List - English