Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: How well does this work with local repos? #13

Open
tecosaur opened this issue Aug 1, 2022 · 2 comments
Open

question: How well does this work with local repos? #13

tecosaur opened this issue Aug 1, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@tecosaur
Copy link

tecosaur commented Aug 1, 2022

Hello!

I'm currently putting together a personal server VM with Gitea and Caddy. I'm wondering if it might be possible to have my homepage and blog's static sources as a git repo be used by caddy with this plugin? E.g. /var/lib/gitea/repositories/tec/website.git. For non-static pages I'm thinking a dedicated "static/generated content" branch could be generated by CI. I'm well aware this would not be a standard approach, but for my situation (and maybe others?), it seems like this could be a convenient way of setting things up.

Does this use case fit well with this plugin?

@greenpau
Copy link
Owner

greenpau commented Aug 1, 2022

Does this use case fit well with this plugin?

@tecosaur , yes. I could see how it could be useful. I never tried the plugin with local repos.

@greenpau greenpau added enhancement New feature or request help wanted Extra attention is needed and removed need triage labels Aug 1, 2022
@tecosaur
Copy link
Author

Having just read the Caddy v2.6 release notes, it sounds like Virtual file systems could be useful for serving local git repos transparently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants