Some checks failed
Deploy to Production / Deploy to Server (push) Failing after 21s
- Update sitemap.xml to include /v1/health endpoint - Add proper 404 handling (JSON for API paths, HTML for browser paths) - Create optimized nginx config with gzip, cache headers, specific locations - Add logrotate configuration for DocFast logs - Add security headers and static asset caching
13 lines
No EOL
312 B
Text
13 lines
No EOL
312 B
Text
/var/log/docfast*.log {
|
|
weekly
|
|
rotate 4
|
|
compress
|
|
delaycompress
|
|
missingok
|
|
notifempty
|
|
create 644 root root
|
|
postrotate
|
|
# Send USR1 signal to dockerized apps to reopen log files
|
|
/bin/kill -USR1 $(cat /var/run/docker.pid 2>/dev/null) 2>/dev/null || true
|
|
endscript
|
|
} |