mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Moved certificate management behind nginx proxy
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
loop:
|
||||
- "{{nginx_servers_directory}}"
|
||||
- "{{nginx_maps_directory}}"
|
||||
- "{{nginx_upstreams_directory}}"
|
||||
- "{{nginx_streams_directory}}"
|
||||
when: run_once_nginx is not defined
|
||||
|
||||
- name: create nginx config file
|
||||
|
@@ -33,8 +33,12 @@ http
|
||||
gzip_min_length 256;
|
||||
gzip_types application/atom+xml application/javascript application/xml+rss application/x-javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy text/javascript text/xml;
|
||||
|
||||
types_hash_max_size 4096;
|
||||
include {{nginx_upstreams_directory}}*.conf;
|
||||
types_hash_max_size 4096;
|
||||
include {{nginx_maps_directory}}*.conf;
|
||||
include {{nginx_servers_directory}}*.conf;
|
||||
}
|
||||
|
||||
# For port proxies
|
||||
stream{
|
||||
include {{nginx_streams_directory}}*.conf;
|
||||
}
|
||||
|
Reference in New Issue
Block a user