<html><head></head><body><div class="ydpeeed97cbyahoo-style-wrap" style="font-family: Helvetica, Arial, sans-serif; font-size: 16px;"><div>Hello,<br><div><br><div>I'm sucessfully accessing a server/site behind my reverse proxy with the following URL<br><span>https://app.mydomain.org/screens/dashboard.html#/MainDashboard</span><br></div></div></div></div><div><div><br><div>But the following URL gives a 502 Bad Gateway<br><div><span>https://<span><span>app.mydomain.org</span></span>/screens/webui/resource/swccopolldata.json<br></span><div><span>I don't understand why beyond resource it sends me an error 502.</span></div><div><br>Does anyone has an idea about what's wrong ?<span></span><br></div></div></div></div><div><br><div>My Nginx config looks like this<br><div><br><div>upstream backend-app { server 192.168.0.2:443; }<br><br>server {<br> listen 80;<br> listen [::]:80;<br> listen 443 ssl;<br> listen 4443 ssl;<br> listen [::]:4443 ssl;<br> listen [::]:443 ssl;<br> server_name server_name <span><span><span><span>app.mydomain.org</span></span></span></span>;<br><div>...<br><div> proxy_ssl_verify off;<br><br></div><div> location / {<br> try_files $uri @proxy;<br> proxy_ssl_verify off;<br> access_log /var/log/nginx/<span><span><span><span>app.mydomain.org</span></span></span></span>.access.log;<br> error_log /var/log/nginx/<span><span><span><span>app.mydomain.org</span></span></span></span>.error.log;<br> }<br><br></div><div> location @proxy {<br> proxy_pass https://<span>backend-app</span>;<br> }<br>}<br></div><br></div></div><br></div></div></div></div></body></html>