diff --git a/Dockerfile b/Dockerfile index 9a280ed..cab5cf5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ COPY ["Profice WebSite/", "/app/"] RUN echo 'index index.html index.php; \ location / { \ if ($request_uri ~ ^/index(\.html)?$) { \ - return 311 /; \ + return 301 /; \ } \ if ($request_uri ~ ^/(.*)\.html$) { \ return 301 /$1; \