Ремонт квартиры: сайт remont.digital-home.site из заметок + авто-деплой
All checks were successful
Deploy Remont Site / deploy (push) Successful in 57s
All checks were successful
Deploy Remont Site / deploy (push) Successful in 57s
- переименованы заметки (Планировка, Гостиная-кухня, Спальня) и картинки - вычищены таблицы, добавлен README-индекс - .site/: генератор сайта из markdown (node+sharp → nginx), дизайн из assets - .gitea/workflows/deploy-remont.yml: авто-сборка и деплой по пушу в папку Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
21
Ремонт квартира/.site/nginx.conf
Normal file
21
Ремонт квартира/.site/nginx.conf
Normal file
@@ -0,0 +1,21 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
# index — всегда свежий, чтобы правки доезжали сразу
|
||||
location = /index.html {
|
||||
add_header Cache-Control "no-cache";
|
||||
}
|
||||
|
||||
# статика с длинным кэшем
|
||||
location ~* \.(webp|png|jpg|jpeg|svg|css|js|woff2)$ {
|
||||
expires 7d;
|
||||
add_header Cache-Control "public, max-age=604800";
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user