proxy http requests to different port numbers?

Francis Daly francis at daoine.org
Thu Oct 3 15:22:04 UTC 2019


On Thu, Oct 03, 2019 at 09:14:35AM -0400, lvic4594 wrote:

Hi there,

> The same thing happens if i have both http and https in the same server
> block, which is the only one in config:

What "same thing", specifically?

What request do you make; what response do you get; what response do
you want instead?

>         include /etc/nginx/default.d/*.conf;

That line might be doing anything. What happens if you leave it out?

> 	location /http {
> 	    proxy_pass	http://myserver:9092;

Those lines should probably each have one more "/" in them, to match
the original requirement.

Cheers,

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list