ckan / datapusher

A standalone web service that pushes data files from a CKAN site resources into its DataStore
GNU Affero General Public License v3.0
77 stars 155 forks source link

curl 0.0.0.0:8800 and curl externaldomain.com:8800 #135

Open LekanAnni opened 7 years ago

LekanAnni commented 7 years ago

Dear Seniors, I suddenly have below issues with my ckan datapusher the moment i point to a public domain.

issues: curl externaldomain.com:8800 wont return success but 0.0.0.0:8800 and local ip will.

How do i set up my public domain in apache to point to my datapusher:8800 ?

metaodi commented 7 years ago

Do you really want to expose DataPusher to the public?

0.0.0.0:8800 in the apache config actually means "all IPv4 addresses on the local machine" (see Wikipedia).

If you really want to reach datapusher via domain, you need to configure the correct ServerName in the config.