summaryrefslogtreecommitdiff
path: root/ansible/roles/trove-setup/templates
Commit message (Collapse)AuthorAgeFilesLines
* lighttpd: Improve SSL configurationPedro Alvarez2016-01-261-0/+3
| | | | Change-Id: I65e3386d5aec31a8bb8a02191b15ecc38ee33f43
* lighttpd: Only require HTTPS authentication for Gitano URLsPedro Alvarez2016-01-261-13/+20
| | | | | | | | | | | | | | | | | | | | | | | | Previously the whole of git.baserock.org was effectively inaccessible over HTTPS, because it would require a username and password for all HTTPS requests. This was done to ensure that we don't make Trove "insecure by default" by allowing access to hidden repos over anonymous HTTPS. Firstly, we only need to require auth for the actual Gitano URLs. The other ones (cgit, lc-status.html, releases) are identical over HTTP and HTTPS anyway, so there's no point in hiding them on one protocol but not the other. Also, I have now verified that Gitano's CGI scripts authenticate based on the REMOTE_USER variable set by mod_auth, and if this isn't set they treat the request as anonymous and correctly deny any requests that the anonymous user doesn't have permissions for. This is noted in a comment. The behaviour of Gitano-over-HTTPS in Trove should be completely unchanged by this commit, however. Change-Id: Ie5dbc3bd3ab8d37ef3e5c08c9541c571944e1f58
* Redirect cgi-bin/cgit.cgi/ from urls, replace it with cgit/Lauren Perry2016-01-251-0/+14
| | | | | | | | | This is much less typing and gives us neater URLs! The paths /baserock and /delta are also now specially redirected to /cgit/baserock and /cgit/delta, for the benefit of the extra-lazy. Change-Id: I9cda805c0a6134fb91595bbf8f3e74668d745327
* lighttpd: Add support for installing SSL certsPedro Alvarez2015-11-191-0/+74
Change-Id: I33c74dc19e5835c65740f483aae89a1e8e415f0c