diff --git a/Dockerfile b/Dockerfile
index f5e95e961523c43e46db17c1524835379922955e..1203d2a2248471dfd976337eb1b9a3d16265e94c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -22,5 +22,7 @@ RUN composer install
 # |--------------------------------------------------------------------------
 FROM gitlab.jonasled.de/jonasled/nginx-php-minimal:8-latest
 RUN apk update && \
-    apk add php8-mysqli php8-mbstring php8-curl php8-simplexml --no-cache
+    apk add php8-mysqli php8-mbstring php8-curl php8-simplexml --no-cache && \
+    rm /etc/nginx/http.d/default.conf
 COPY --from=composer /build/public .
+COPY ./nginx.conf /etc/nginx/http.d/default.conf