Bereite Docusaurus-Deploy mit Docker und eigener Docs-Site vor

This commit is contained in:
2026-04-21 19:45:16 +02:00
parent 8114a8c645
commit 1637d4bd91
12 changed files with 282 additions and 0 deletions

16
docs-site/nginx.conf Normal file
View File

@@ -0,0 +1,16 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
location ~* \.(?:css|js|map|jpg|jpeg|gif|png|svg|ico|webp|woff2?)$ {
expires 30d;
add_header Cache-Control "public, immutable";
}
}