huge documentaton restructure for docusaurus
This commit is contained in:
2
docker/nginx/.htpasswd-docs
Normal file
2
docker/nginx/.htpasswd-docs
Normal file
@@ -0,0 +1,2 @@
|
||||
# Default development credentials (docs / changeme). Replace this file in production!
|
||||
docs:$apr1$Mjk6u9Kx$kqsV6eI9Ghd9zR0PcfH4K.
|
||||
@@ -29,6 +29,16 @@ server {
|
||||
access_log off;
|
||||
}
|
||||
|
||||
location /internal-docs/ {
|
||||
alias /var/www/html/docs-site/;
|
||||
index index.html;
|
||||
try_files $uri $uri/ /internal-docs/index.html;
|
||||
|
||||
auth_basic "Fotospiel Internal Docs";
|
||||
auth_basic_user_file /etc/nginx/.htpasswd-docs;
|
||||
|
||||
add_header Cache-Control "private, no-store";
|
||||
}
|
||||
|
||||
client_max_body_size 32m;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user