Relative Content

Tag Archive for regexgitnginx

Can I serve a git repo and html from the same URI?

I have a small static website, generated by a script which I want to distribute along with the source data. Thus if I make a hook which runs git update-server-info, the HTML will be at https://example.com/whatever/ and the repo will be at https://example.com/whatever/.git/. All lovely.