ci: docker_tag=dev-test chore(nginx): /routes dynamique via autoindex sur $NGINX_CONF_DIR (sans chemins absolus)
This commit is contained in:
parent
aa73d5d0bf
commit
1dc16843fd
@ -1,6 +1,9 @@
|
|||||||
location /routes {
|
# Liste dynamique des fragments de routes
|
||||||
|
# Sert le contenu du répertoire $NGINX_CONF_DIR/ avec autoindex
|
||||||
|
location /routes/ {
|
||||||
|
autoindex on;
|
||||||
|
autoindex_exact_size off;
|
||||||
|
autoindex_localtime on;
|
||||||
default_type text/plain;
|
default_type text/plain;
|
||||||
alias /home/debian/4NK_vault/storage/dev/nginx/routes.txt;
|
alias $NGINX_CONF_DIR/;
|
||||||
add_header Cache-Control "no-store" always;
|
|
||||||
try_files /home/debian/4NK_vault/storage/dev/nginx/routes.txt =404;
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user