Hello,

I'm sucessfully accessing a server/site behind my reverse proxy with the 
following URL
https://app.mydomain.org/screens/dashboard.html#/MainDashboard

But the following URL gives a 502 Bad Gateway
https://app.mydomain.org/screens/webui/resource/swccopolldata.json
I don't understand why beyond resource it sends me an error 502.
Does anyone has an idea about what's wrong ?

My Nginx config looks like this

upstream backend-app { server 192.168.0.2:443; }

server {
   listen 80;
   listen [::]:80;
   listen 443 ssl;
   listen 4443 ssl;
   listen [::]:4443 ssl;
   listen [::]:443 ssl;
   server_name server_name app.mydomain.org;
...
   proxy_ssl_verify off;

   location / {
        try_files $uri @proxy;
        proxy_ssl_verify        off;
        access_log      /var/log/nginx/app.mydomain.org.access.log;
        error_log       /var/log/nginx/app.mydomain.org.error.log;
    }

    location @proxy {
            proxy_pass https://backend-app;
    }
}


_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to