D
D
Denis Melnikov2020-07-17 10:05:04
Nginx
Denis Melnikov, 2020-07-17 10:05:04

Why doesn't reverse-proxy work on ssl?

I installed RocketChat, everything is ok.
I make a config for nginx (on another server), for Http, everything is ok, it works.
I made a config for SSL (according to the manual, or rather, even copy paste, from the RC docks), not only does it not work, but it sends it to another server, with a different IP
rocket - 1.104:3000
web - 1.41
Other 1.43
View logs 1.43 at the moment I can't....
Why is this happening?

5f114d7726eff322846989.png
5f114d815ebdd377536889.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Denis Melnikov, 2020-07-20
@Mi11er

pffff... actually. I will answer myself and many who work a lot, especially on Friday ...
When you have 2 web servers on a virtual machine ... and you configure 1 of them, restart the one you configure ...
It's just
systemctl restart httpd.service
Very different from
systemctl restart nginx
this well... Everything was in order.

A
Andrey Barbolin, 2020-07-17
@dronmaxman

Find 7 differences.

proxy_pass http://192.168.1.104:3000
proxy_pass http://192.168.1.104:3000/

D
dodo512, 2020-07-17
@dodo512

ssl on;

nginx.org/ru/docs/http/ngx_http_ssl_module.html#ssl
This directive has been deprecated in version 1.15.0. Instead, use the ssl parameter of the listen directive.

server {
     listen 443 ssl http2;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question