Block dotfile access, remove custom CSS, fix cron npm install

- nginx: deny all requests to hidden files (/.git/config was publicly readable)
- nginx: remove CSS injection and /custom/ static file serving
- cron: install script deps at build time into /opt to avoid ro mount conflict
- docker-compose: widen cron build context for package.json COPY
- Delete unused theme/ghost-guild.css
This commit is contained in:
Jennie Robinson Faber 2026-03-31 17:53:50 +01:00
parent 1984e64ccd
commit ed05044464
5 changed files with 9 additions and 85 deletions

View file

@ -7,7 +7,6 @@ services:
- outline
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- ./theme:/opt/ghost-guild-wiki-theme:ro
networks:
- default
- dokploy-network
@ -70,7 +69,8 @@ services:
cron:
build:
context: ./cron
context: .
dockerfile: cron/Dockerfile
restart: unless-stopped
depends_on: