Welcome! Log In Create A New Profile

Advanced

problems with reverse proxy

Posted by kazkra 
problems with reverse proxy
July 11, 2024 01:29PM
Hello! I have the following problem:
For now I have a simple set up; two servers: first acting as a reverse proxy and second hosting nextcloud. I tried to configure nginx server config, but when I go to "nextcloud.example.com" I get this message:

Secure Connection Failed

Error code: SSL_ERROR_RX_RECORD_TOO_LONG

(browser: firefox)
On different browser I get "Welcome to Nginx" page.

My /etc/nginx/site-available/example.com looks like this:

server {
listen 443;
server_name nextcloud.example.com;
location / {
proxy_pass https://192.168.0.123:443;
include proxy_params;
}
}

When I set port forwarding on my router Nextcloud works; also it has got its own SSL cert from certbot.

Can any of you guys help me?

Kazimierz Krauze
Re: problems with reverse proxy
July 12, 2024 06:50AM
You are missing an certificate / SSL configuration ?

I would guess, the reason the browsers acting differently is because of them is connecting using https:// and the other one http:// ?
Re: problems with reverse proxy
July 22, 2024 08:07AM
SSL_ERROR_RX_RECORD_TOO_LONG error typically indicates a problem with how SSL is being handled.
Re: problems with reverse proxy
July 24, 2024 11:42AM
Okay, thank you for your answers.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 251
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready