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

Can I add additional nginx settings? #505

Closed
afridlund85 opened this issue Jul 13, 2016 · 5 comments
Closed

Can I add additional nginx settings? #505

afridlund85 opened this issue Jul 13, 2016 · 5 comments

Comments

@afridlund85
Copy link

I use one of the containers behind the reverse proxy for gitlab ce and would like to change the nginx setting: "client_max_body_size" from its default "1M" to allow larger commits. Since the nginx default.conf is managed by the reverse proxy, any changes I apply to the file manually can change if the container is rebuilt.

To change it I used docker exec to access the container, install a nano, open the file and add the line manually.

Is there any way to change nginx settings outside the container, using docker or additional configs?

@wader
Copy link

wader commented Jul 13, 2016

Search for "client_max_body_size" in README.md and you will see some examples about custom config

@afridlund85
Copy link
Author

It was right there, now I feel stupid. Thanks alot

@wader
Copy link

wader commented Jul 13, 2016

Hi, close?

@Tintwo
Copy link

Tintwo commented Apr 11, 2017

Hi guys,
I have an issue to change this setting too (client_max_body_size). Because I use this image with docker-compose, I tried to build a custom image as explained in the "Proxy-wide" section. Unfortunately, it seems it doesn't work and i don't see this new custom conf in the conf.d directory linked as described in my docker-composer file.
Any idea ?

Thx

@tkw1536
Copy link
Collaborator

tkw1536 commented Apr 10, 2022

Closing issue. Please open a discussion if the problem still persists.

@tkw1536 tkw1536 closed this as completed Apr 10, 2022
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

No branches or pull requests

4 participants