Fix Nginx file permissions and bypass browser cache

This commit is contained in:
Kroonk
2026-04-12 14:58:25 +02:00
parent 275db4ed08
commit 41bfb91ce3
2 changed files with 4 additions and 0 deletions

View File

@@ -15,6 +15,9 @@ RUN bundle exec jekyll build
# === Serve-Phase: nginx + ImageMagick fuer Thumbnails ===
FROM nginx:alpine
# Nginx als Root laufen lassen, um Berechtigungsprobleme mit Nextcloud-Dateien zu vermeiden
RUN sed -i 's/user nginx;/user root;/g' /etc/nginx/nginx.conf
RUN apk add --no-cache imagemagick
COPY nginx.conf /etc/nginx/conf.d/default.conf