Update Dockerfile
This commit is contained in:
@@ -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; \
|
||||
|
||||
Reference in New Issue
Block a user