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