From 2393ab205142f56250f0828740a8d643f6dc87ef Mon Sep 17 00:00:00 2001 From: hesukastro Date: Thu, 5 Feb 2026 13:41:28 +0800 Subject: [PATCH] update --- DockerFile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DockerFile b/DockerFile index 74ace87..ec7b558 100644 --- a/DockerFile +++ b/DockerFile @@ -4,5 +4,7 @@ FROM nginx:alpine # Copy all files from your Git repo into the web server directory COPY ./html/ /usr/share/nginx/html/ +RUN sed -i 's/server_name localhost;/server_name _;/g' /etc/nginx/conf.d/default.conf + # Expose port 80 EXPOSE 80 \ No newline at end of file