Welcome! Log In Create A New Profile

Advanced

NGINX: Set/use requests with fully qualified domain name (= FQDN).

May 11, 2016 07:24AM
Hi @ all. NGINX proxy_pass works great with our internal servers. Thanks for the good work.

Now I want to proxy_pass an external server and I have to use our proxy for this to get an external connection.

I checked with tcpdump and Wireshark. NGINX sends

"GET /uri HTTP/1.1
HOST: external.com"

to my upstream (= coporate proxy).

Can I modify this to

"GET http://external.com:80/uri HTTP/1.1
HOST: external.com"

?

Problem is: Our proxy denies requests (error 400 bad request) without FQDN (= fully qualified domain name).

Any help or workaround is welcome.
Subject Author Posted

NGINX: Set/use requests with fully qualified domain name (= FQDN).

Sportmodus May 11, 2016 07:24AM

Re: NGINX: Set/use requests with fully qualified domain name (= FQDN).

Francis Daly May 11, 2016 06:30PM

Re: NGINX: Set/use requests with fully qualified domain name (= FQDN).

Sportmodus May 13, 2016 04:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 161
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready