This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
lilik_playbook
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
[nginx] set max_body_size as variable with default
python3
Edoardo Putti
7 years ago
parent
f426c9cd3a
commit
9e2fe99c6e
2 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
roles/nginx/defaults/main.yml
+1
-1
roles/nginx/templates/proxy.conf.nginx.j2
+ 2
- 0
roles/nginx/defaults/main.yml
View File
@ -2,3 +2,5 @@
is_proxy
:
false
php
:
false
config_name
:
null
# max body size in Mb
max_body_size
:
8
+ 1
- 1
roles/nginx/templates/proxy.conf.nginx.j2
View File
@ -1,5 +1,5 @@
location / {
client_max_body_size
50
M;
client_max_body_size
{{ max_body_size }}
M;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
Write
Preview
Loading…
Cancel
Save