Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
Re: reverse proxy with dns control
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
arx
April 14, 2022 06:33AM
Registered: 2 years ago
Posts: 5
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
GET /favicon.ico HTTP/1.1" 404 548 "http://dnsinput:port/"
in access.log
Reply
Quote
RSS
Subject
Author
Posted
reverse proxy with dns control
arx
April 13, 2022 07:43AM
Re: reverse proxy with dns control
arx
April 14, 2022 06:33AM
Re: reverse proxy with dns control
Francis Daly
April 14, 2022 06:52AM
Re: reverse proxy with dns control
arx
April 14, 2022 07:02AM
Re: reverse proxy with dns control
arx
April 14, 2022 07:35AM
Re: reverse proxy with dns control
Francis Daly
April 14, 2022 08:30AM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 177
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018