diff options
Diffstat (limited to 'roles')
-rw-r--r-- | roles/git/tasks/main.yml | 3 | ||||
-rw-r--r-- | roles/nginx/files/nginx.conf | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/roles/git/tasks/main.yml b/roles/git/tasks/main.yml index 7d46aba..72fb025 100644 --- a/roles/git/tasks/main.yml +++ b/roles/git/tasks/main.yml @@ -135,6 +135,3 @@ state: link notify: - Reload nginx - -# TODO: -# 1. Make role for repository creation. diff --git a/roles/nginx/files/nginx.conf b/roles/nginx/files/nginx.conf index ce8302d..66d609a 100644 --- a/roles/nginx/files/nginx.conf +++ b/roles/nginx/files/nginx.conf @@ -38,6 +38,12 @@ http { # Set types_hash_max_size to 2048 to avoid warning in logs. types_hash_max_size 4096; + # Enable TCP_CORK option to send files in full packets. + tcp_nopush on; + + # Enable TCP_NODELAY option. + tcp_nodelay on; + # Load configs for all enabled sites. include /etc/nginx/sites-enabled/*; |