Rename auxiliary ffhh roles
This commit is contained in:
parent
7e739c8c70
commit
a32926b0b9
7 changed files with 2 additions and 2 deletions
roles/nginx-ffhh
3
roles/nginx-ffhh/files/snippets/autoindex.conf
Normal file
3
roles/nginx-ffhh/files/snippets/autoindex.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
autoindex on;
|
||||
autoindex_exact_size on;
|
||||
autoindex_localtime off;
|
6
roles/nginx-ffhh/files/snippets/location-acme-srv01.conf
Normal file
6
roles/nginx-ffhh/files/snippets/location-acme-srv01.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
location ^~ /.well-known/acme-challenge {
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_pass http://srv01.hamburg.freifunk.net$request_uri;
|
||||
access_log off;
|
||||
}
|
8
roles/nginx-ffhh/files/snippets/no-unsafe-files.conf
Normal file
8
roles/nginx-ffhh/files/snippets/no-unsafe-files.conf
Normal file
|
@ -0,0 +1,8 @@
|
|||
disable_symlinks if_not_owner from=$document_root;
|
||||
|
||||
# Do not serve dotfiles.
|
||||
location ~ /\. {
|
||||
deny all;
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
}
|
5
roles/nginx-ffhh/tasks/main.yml
Normal file
5
roles/nginx-ffhh/tasks/main.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- name: copy snippets
|
||||
copy:
|
||||
src: snippets/
|
||||
dest: /etc/nginx/snippets/
|
Loading…
Add table
Add a link
Reference in a new issue