[ckan-dev] URL's ignoring site_url configuration
Alex Palcuie
alex.palcuie at gmail.com
Sun Mar 20 18:19:43 UTC 2016
I've recently migrated a CKAN deployment to SSL and this config[0] proved
really helpful for me. I think the nginx file will help you.
[0]: https://gist.github.com/nigelbabu/076ad12c13b2071de8e1
Alex
On Wed, Mar 16, 2016 at 10:22 PM, Patrick West <westp at rpi.edu> wrote:
> One of the problems we are seeing related to this:
>
> Mixed Content: The page at '
> https://dco.tw.rpi.edu/ckan/dataset/new_resource/b25a0a9f-b778-4b78-931f-408730105c6c'
> was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '
> http://10.0.1.29/ckan/api/i18n/en'. This request has been blocked; the
> content must be served over HTTPS.
>
> Even though we have url rewrite maps in apache configuration it’s not
> mapping this.
>
> Thanks!
>
> On Mar 16, 2016, at 2:11 PM, Patrick West <westp at rpi.edu> wrote:
>
> ckan 2.5.1, ubuntu 14.04, google chrome, apache2
>
> Looking at our page source we see
>
> <body data-site-root="http://10.0.1.29/ckan/" data-locale-root="
> http://10.0.1.29/ckan/" >
>
> 10.0.1.29 is our internal network. The site_url is specified in the
> configuration. Not sure if this impacts anything, but thought I’d ask.
>
> Thanks,
>
>
>
>
>
>
> -- Patrick West
> ---- Principal Software Engineer
> ---- Tetherless World Constellation <http://tw.rpi.edu/>
> ---- Rensselaer Polytechnic Institute <http://www.rpi.edu/>
> ---- westp at rpi.edu
> [image: Facebook] <http://www.facebook.com/groups/48548184040/>[image:
> Weblog] <http://tw.rpi.edu/weblog/>[image: YouTube]
> <https://www.youtube.com/user/TetherlessWorld>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160320/148ed2f1/attachment-0003.html>
More information about the ckan-dev
mailing list