diff --git a/nginx/Dockerfile b/nginx/Dockerfile
index 36ca4ed465dc7e60c9547d3e9b331eb628995fad..98612812eb0133fa69522b63f204ce2d2c12a5fd 100644
--- a/nginx/Dockerfile
+++ b/nginx/Dockerfile
@@ -1,6 +1,6 @@
 FROM docker.io/nginx:1.23.3-alpine
 # hadolint ignore=DL3018
-RUN rm -rf /etc/nginx/conf./* && \
+RUN rm -rf /etc/nginx/conf.d/* && \
     chmod 777 /run && \
     apk add --no-cache --update libcap openssl && \
     curl https://letsencrypt.org/certs/isrg-root-ocsp-x1.pem.txt > /etc/ssl/ocsp.pem && \