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

Allowing individual server settings to be configured using environmen… #14

Merged
merged 1 commit into from
Jul 27, 2017

Conversation

smaclell
Copy link
Contributor

…t variables

Let me know if there is anything else you would like for this PR or you don't think it is a fit for this project.

Motivation

We want to adjust some of the NGINX settings on a per host basis. For example, we want to increase the upload size for a registry.

With this PR we could then set NGINX_GEN_client_max_body_size to 10m in order to set client_max_body_size 10m; on the server.

Testing

Tested with against our internal ECS cluster.

@codesuki
Copy link
Owner

Very nice! First I thought people could use a custom template, but that would force them to build their own docker image etc. So this is a very nice addition! I'll merge it during the day.
Thanks a lot!

@codesuki codesuki merged commit 0a99d51 into codesuki:master Jul 27, 2017
@codesuki
Copy link
Owner

In case you find the time, it would be cool if you could add some sample to the readme file so people will know about this.

@smaclell
Copy link
Contributor Author

smaclell commented Sep 6, 2017

Sorry for the delay. I pushed up a simple pr with docs to #15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants