this should fix docusaurus assets
This commit is contained in:
@@ -24,12 +24,7 @@ server {
|
|||||||
fastcgi_buffers 8 16k;
|
fastcgi_buffers 8 16k;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~* \.(jpg|jpeg|gif|png|css|js|ico|svg|webp|woff2?)$ {
|
location ^~ /internal-docs/ {
|
||||||
expires 30d;
|
|
||||||
access_log off;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /internal-docs/ {
|
|
||||||
# Docusaurus static build lives in app-code volume at /var/www/html/docs/site/build
|
# Docusaurus static build lives in app-code volume at /var/www/html/docs/site/build
|
||||||
alias /var/www/html/docs/site/build/;
|
alias /var/www/html/docs/site/build/;
|
||||||
index index.html;
|
index index.html;
|
||||||
@@ -41,5 +36,10 @@ server {
|
|||||||
add_header Cache-Control "private, no-store";
|
add_header Cache-Control "private, no-store";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~* \.(jpg|jpeg|gif|png|css|js|ico|svg|webp|woff2?)$ {
|
||||||
|
expires 30d;
|
||||||
|
access_log off;
|
||||||
|
}
|
||||||
|
|
||||||
client_max_body_size 32m;
|
client_max_body_size 32m;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user