Hi everyone,
I have the following network configuration:
where:
srv050: reverse-proxy realized with Nginx
srv032: cloud server with NextCloud
The problem is the following: if PC2 connects to srv032 everything work. On the other hand if I try from PC1, which is outside the LAN, I can’t use the service.
My Nginx configuration is the following:
server {
listen 80;
listen 443;
#listen 443 ssl http2;
server_name cloud.xxxxxxxx.eu cloud.xxxxxxxx.it;
access_log /var/log/nginx/access_110-cloud.log main;
location / {
index index.php index.htm index.html;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://srv032.berna.lan;
access_log on;
}
}
Any ideas/help would be appreciated