This commit is contained in:
2025-03-06 12:43:30 -07:00
parent edd3b82e65
commit 22e179840b
2 changed files with 10 additions and 3 deletions

View File

@ -1,12 +1,12 @@
location ~* .(3gp|apng|avi|avif|bmp|css|cur|flv|gif|htm|html|ico|jfif|jpeg|jpg|js|mid|mov|mp3|mp4|mpeg|mpg|ogg|pdf|php|pjp|pjpeg|png|svg|tif|tiff|ttf|txt|wav|webp|wmf|wml|wmv|xml|xml)$ {
expires 1d;
index index.html index.htm;
root "D://Tmp//phares//www";
root "L://DevOps";
}
location / {
index index.html index.htm;
# root /var/www/html/637998119172547651;
root "D://Tmp//phares//www";
root "L://DevOps";
# First attempt to serve request as file, then
autoindex on;
# Send the data in JSON