Fixes for deployment and Nginx config
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful

This commit is contained in:
2026-02-06 23:49:39 -03:00
parent 9db2592cf4
commit 93e2618dcf
2 changed files with 5 additions and 7 deletions

View File

@@ -1,8 +1,10 @@
# Deploy: build image, push to registry, trigger Portainer stack redeploy.
# Runs on push/tag/manual to main only, after ci workflow succeeds.
when:
branch: main
event: [push, tag, manual]
- branch: main
event: [push, tag, manual]
- event: deployment
evaluate: 'CI_PIPELINE_DEPLOY_TARGET == "production"'
depends_on:
- ci

View File

@@ -38,11 +38,7 @@ location ~* \.(pdf|doc|docx)$ {
access_log off;
}
# robots.txt: short cache (1 day)
location = /robots.txt {
add_header Cache-Control "public, max-age=86400";
access_log off;
}
# robots.txt and sitemap.xml: handled in default.conf with alias (variant-specific)
# favicon: long cache (30 days)
location = /favicon.svg {