From 3256c433af787df5797fe995fa3fa63556667f73 Mon Sep 17 00:00:00 2001 From: Ihor_Zhekov Date: Fri, 6 Feb 2026 15:05:31 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 458159c..9b4fdf4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,11 @@ ENV WEB_DOCUMENT_ROOT=/app COPY ["Profice WebSite/", "/app/"] -RUN chown -R application:application /app +RUN echo 'location / { \ + try_files $uri $uri/ $uri.html /index.php?$query_string; \ + index index.html index.php; \ +}' > /opt/docker/etc/nginx/vhost.common.d/10-location-root.conf + +RUN chown -R application:application /app && chmod -R 755 /app EXPOSE 80 \ No newline at end of file