Fix Nginx file permissions and bypass browser cache
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user