about summary refs log tree commit diff
path: root/infra/kubernetes/nginx/nginx.conf
AgeCommit message (Collapse)AuthorFilesLines
2019-12-20 r/237 chore: Significantly restructure folder layoutVincent Ambo1-59/+0
This moves the various projects from "type-based" folders (such as "services" or "tools") into more appropriate semantic folders (such as "nix", "ops" or "web"). Deprecated projects (nixcon-demo & gotest) which only existed for testing/demonstration purposes have been removed. (Note: *all* builds are broken with this commit)
2019-12-20 r/229 feat(infra/k8s): Rewrite cgit URLs by routing them through nginxVincent Ambo1-0/+15
Configures nginx to rewrite all requests to cgit, except for those retrieving static files, to `/depot/`. In combination with the previous commits that apply patches to cgit itself, this effectively means that the depot is rendered on the site root. This is pretty cool: It lets people do stuff like `git clone https://git.tazj.in` and get the depot!
2019-12-20 r/220 fix(infra/k8s): Workaround for nginx crash on pidfile writeVincent Ambo1-0/+1
Newer versions of nginx apparently hard-crash if they can't write a PID file in the current directory. To work around this, some writeable scratch space is created for the nginx daemon to write its PID to.
2019-09-02 r/75 fix(k8s): Add nginx route for load-balancer health checksVincent Ambo1-0/+7
2019-09-02 feat(k8s): Add nginx instance for oslo.pub redirectVincent Ambo1-0/+36
The redirect is currently all that this instance does. It is required because HTTP load balancers in GCP don't support URL rewriting.