Circle-artifacts.com not using index.html


#1

We build our website on circleci via jekyll, and validate it by browsing the website manually. Oddly, circle-artifacts.com seems not to use index.html as the default webpage.

i.e. this URL works, but the one below it does not.
https://circle-artifacts.com/gh/nipy/nipy.github.com/53/artifacts/0/home/ubuntu/nipy.github.com/_site/index.html
vs.
https://circle-artifacts.com/gh/nipy/nipy.github.com/53/artifacts/0/home/ubuntu/nipy.github.com/_site/

This makes the webpage testing fail, as our links assume that index.html is the default webpage.

Any suggestions on how we can set up this behavior? Changing all of our links is silly–all other web servers have this behavior, and it would make our URLs uglier.


#2

I think this is because we didn’t design artifacts for hosting static sites. However, many users use the artifacts for this purpose now and I don’t see a reason not to do this.

I’ll create a feature request for this, bur unfortunately the handling of the default route needs to be done on user side.


#3

I’ll create a feature request for this, bur unfortunately the handling of the default route needs to be done on user side.

Thanks for the reply! I’m not sure what you’re saying though: isn’t the feature request for circleci to handle the default route? And is it currently possible for users to handle the default route themselves? If so, how–I’d be glad to set it up, but I don’t know what interface (read: web server software & config) circleci exposes to do it.

We’re using jekyll to generate the pages, and using circleci to serve them.


#4

Have there been any developments here over the last couple years? It would be really convenient for bare routes to default to index.html. We generate documentation as part of our builds and we can’t browse through the documentation easily because of this.


#5