From 795b579f749219b434c1770eaf848455412ee275 Mon Sep 17 00:00:00 2001 From: hyang Date: Sun, 1 Oct 2023 23:28:22 -0700 Subject: remove default.conf --- nginx-entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nginx-entrypoint.sh') diff --git a/nginx-entrypoint.sh b/nginx-entrypoint.sh index e5c8719..461a643 100755 --- a/nginx-entrypoint.sh +++ b/nginx-entrypoint.sh @@ -2,6 +2,7 @@ mkdir -p /var/www/hugo_pub cp -r ./public/* /var/www/hugo_pub chown -R root:www-data /var/www/hugo_pub + cat < /etc/nginx/nginx.conf user nginx; @@ -73,6 +74,8 @@ http { } EOF +rm /etc/nginx/http.d/default.conf + cat < /etc/nginx/http.d/hugo.conf server { # Listen on port 80 for HTTP requests -- cgit v1.2.3