mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
THE HUGE REFACTORING CALENDER WEEK 33; Optimized Matrix and during this updated variables, and implemented better reset and cleanup mode handling, also solved some initial setup bugs
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
- srv-web-7-6-https
|
||||
- dev-git
|
||||
|
||||
- name: "include role for {{application_id}} to receive certs & do modification routines"
|
||||
- name: "include role for {{ application_id }} to receive certs & do modification routines"
|
||||
include_role:
|
||||
name: srv-web-7-6-composer
|
||||
vars:
|
||||
@@ -14,5 +14,5 @@
|
||||
- name: "generate '{{ CDN_NGINX_FILE }}'"
|
||||
template:
|
||||
src: "nginx.conf.j2"
|
||||
dest: "{{ nginx.directories.http.servers }}{{ CDN_NGINX_FILE }}"
|
||||
dest: "{{ NGINX.DIRECTORIES.HTTP.SERVERS }}{{ CDN_NGINX_FILE }}"
|
||||
notify: restart openresty
|
@@ -12,7 +12,7 @@ server
|
||||
|
||||
location /
|
||||
{
|
||||
alias {{ nginx.directories.data.cdn }}; {# Path to your file directory #}
|
||||
alias {{ NGINX.DIRECTORIES.DATA.CDN }}; {# Path to your file directory #}
|
||||
autoindex on; {# Enable directory listing #}
|
||||
autoindex_exact_size off; {# Display sizes in a human-readable format #}
|
||||
autoindex_localtime on; {# Show local time #}
|
||||
@@ -20,7 +20,7 @@ server
|
||||
}
|
||||
|
||||
location /.well-known/ {
|
||||
alias {{nginx.directories.data.well_known}};
|
||||
alias {{NGINX.DIRECTORIES.DATA.WELL_KNOWN}};
|
||||
allow all;
|
||||
default_type "text/plain";
|
||||
autoindex on;
|
||||
|
Reference in New Issue
Block a user