<div dir="ltr">I figured out that the issue was related with doublicated links in the base_link table. Apparently when I executed the updatelayer function new links (with https) were created but the old ones were not deleted. This later was causing conflict when the layer_detail page was loading.<div>Regarding installing the SSL in nginx server I followed this tutorial:  <span style="color:rgb(68,68,68);font-family:Roboto,Helvetica,Arial,sans-serif;font-size:13px"><a href="https://goo.gl/Iod9kQ">https://goo.gl/Iod9kQ</a></span></div><div><br></div><div><span style="color:rgb(68,68,68);font-family:Roboto,Helvetica,Arial,sans-serif;font-size:13px">Dimitris</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 15, 2017 at 11:10 AM, Amedeo Fadini <span dir="ltr"><<a href="mailto:amefad@gmail.com" target="_blank">amefad@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Dimitris,<div><br></div><div>How is handled the Proxy configuration in Nginx? </div><div>Did you checked if the proxy_pass in Nginx  is mapped to the same address and port of <connector port> in tomcat7/server.xml?</div><div><br></div><div>If you can add the part of Nginx configuration to the tutorial page i think it will be good.</div><div><br></div><div>Amefad</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2017-06-15 8:40 GMT+02:00 Dimitris Karakostis <span dir="ltr"><<a href="mailto:karakostis.dimitris@gmail.com" target="_blank">karakostis.dimitris@gmail.com</a><wbr>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hey list,<br></div><div><br></div><div><div style="font-size:12.8px">We are installing SSL certificates for our GeoNode instance. <span style="font-size:12.8px">I am testing right now in staging and I am facing some issues. Although the SSL is installed in the server and partially works, I am not able to load the existing layers.</span></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">To install the SSL I have followed the instructions here: <a href="http://docs.geonode.org/en/master/tutorials/advanced/geonode_production/ssl.html" target="_blank">http://docs.geonode.org/<wbr>en/master/tutorials/advanced/g<wbr>eonode_production/ssl.html</a>  (instead of apache we have nginx)</div><div style="font-size:12.8px">I have also changed the corresponding URLs in the local_settings.py file (SITE_URL etc.)</div><div style="font-size:12.8px">And I have executed the updatelayers command. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">The <a href="http://staging.geonode.wfp.org/" target="_blank">staging.geonode.wfp.org</a> pa<wbr>ge loads with an https and a notification that is not fully secured. This must be cause some images and the openstreetmap baselayer  have hardcoded http instead of https. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I can upload new layers and style them or edit the metadata but I am not able to access any of the old (existing) layers. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I get a NGINX 502 Bad Gateway error. The log files are not particularly helpful. I suspect that some of the links broke after I executed the updatelayer command. Before that, I was able to access the layers but I couldn't style or edit the metadata.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Do you have any idea what it could be the issue?</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks a lot.</div><span class="m_-7438149092255891420HOEnZb"><font color="#888888"><div style="font-size:12.8px">Dimitris</div></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>