Welcome! Log In Create A New Profile

Advanced

Re: reverse proxy: do I really have to store ssl certificates on the proxy ?

Francis Daly
January 11, 2021 06:50PM
On Mon, Jan 11, 2021 at 04:36:28PM -0500, iw2lsi wrote:

Hi there,

> I'm trying the example reported here
> http://nginx.org/en/docs/stream/ngx_stream_ssl_preread_module.html but I'm
> getting an error:
>
> nginx: [emerg] "proxy_pass" directive is not allowed here in
> /etc/nginx/sites-enabled/default.conf:16

"proxy_pass" must be inside "server{}", which must be inside "stream{}".

"map" also lives inside "stream{}".

The full set of stream modules can be seen at http://nginx.org/en/docs/;
scroll down to the "ngx_stream_*" section of the module list. Then you
can click in to the individual pages to see the context of each directive.

Alternatively, start from http://nginx.org/en/docs/dirindex.html and
look for the directive there; in this case you'll want "proxy_pass
(ngx_stream_proxy_module)", which should show what is needed.

If that does not show you the answer, copy-paste the config (redacted
appropriately) and you may get more help here.

Good luck with it,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

reverse proxy: do I really have to store ssl certificates on the proxy ?

iw2lsi January 11, 2021 04:48AM

Re: reverse proxy: do I really have to store ssl certificates on the proxy ?

Francis Daly January 11, 2021 02:14PM

Re: reverse proxy: do I really have to store ssl certificates on the proxy ?

iw2lsi January 11, 2021 04:36PM

Re: reverse proxy: do I really have to store ssl certificates on the proxy ?

Francis Daly January 11, 2021 06:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 305
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