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

Custom nginx config "slots" #330

Open
dshoreman opened this issue Jan 28, 2021 · 0 comments
Open

Custom nginx config "slots" #330

dshoreman opened this issue Jan 28, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@dshoreman
Copy link
Owner

A leftover from #4 which was otherwise completed long ago. A project's apps should have some way of defining custom config "slots" which would get injected in/near the writeNginxConfig() method.

Since a project's config file will have multiple points at which additional rules could feasibly be injected, we'll probably need to have a list of "named slots". Essentially pre-defined variables ("placeholders") in the Blade template.

If we had a single "custom config" block, it'd end up being too restrictive and result in dodgy hacks to "fake" the end of a block just so that code can be injected after it.

@dshoreman dshoreman added the enhancement New feature or request label Jan 28, 2021
@dshoreman dshoreman added this to To do in Projects, Apps and Redirects via automation Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant