Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #775 from fao89/9463
Browse files Browse the repository at this point in the history
Set `client_max_body_size` to 10m for dev environments
  • Loading branch information
fao89 committed Oct 2, 2021
2 parents 0e69846 + 34d2545 commit d93c896
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES/9463.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Set `client_max_body_size` to 10m for dev environments
7 changes: 7 additions & 0 deletions roles/pulp_webserver/tasks/nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
when: ansible_facts.distribution == 'Ubuntu'
become: yes

- name: Set client_max_body_size
set_fact:
pulp_client_max_body_size: 10m
when:
- pulp_client_max_body_size == "1m"
- developer_user is defined or developer_user_home is defined

- block:

- name: Install Nginx
Expand Down

0 comments on commit d93c896

Please sign in to comment.