diff --git a/Dockerfile b/Dockerfile index 1a42660..9692153 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM nginx:1.27-alpine-slim as web +FROM nginx:1.27-alpine-slim AS web RUN rm -rf /etc/nginx/ /var/www/ diff --git a/env/nginx/nginx.conf b/env/nginx/nginx.conf index 3400dc4..0fb524f 100644 --- a/env/nginx/nginx.conf +++ b/env/nginx/nginx.conf @@ -6,7 +6,9 @@ events {} http { include mime.types; charset utf-8; - access_log off; + + access_log off; + absolute_redirect off; server { listen 8080;