This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
ka
/
ansible-role-nginx
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
nginx settings
master
Markus Katharina Brechtel
4 years ago
parent
b6d216cd84
commit
f44ea9ebdc
3 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
defaults/main.yml
+0
-1
tasks/setup_Debian.yml
+2
-0
templates/nginx.conf.j2
+ 2
- 0
defaults/main.yml
View File
@@ -3,3 +3,5 @@ nginx_worker_connections: 768
nginx_redirect_to_https: false
nginx_vhosts: []
nginx_set_server_names_hash_bucket_size: true
+ 0
- 1
tasks/setup_Debian.yml
View File
@@ -4,7 +4,6 @@
apt:
pkg:
- nginx
- nginx-light
- ssl-cert
- name: remove default page
+ 2
- 0
templates/nginx.conf.j2
View File
@@ -20,7 +20,9 @@ http {
types_hash_max_size 2048;
server_tokens off;
{% if nginx_set_server_names_hash_bucket_size %}
server_names_hash_bucket_size 128;
{% endif %}
# server_name_in_redirect off;
include /etc/nginx/mime.types;
Write
Preview
Loading…
Cancel
Save