diff --git a/.docker/Dockerfile b/.docker/Dockerfile index 3b039a5..6ce4467 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -10,7 +10,7 @@ COPY . . # --pathprefix=/docs/ RUN npm ci \ - && npx @11ty/eleventy --pathprefix=/documentation/ \ + && npx @11ty/eleventy --pathprefix=/documentation \ && npx pagefind --site _site/ --output-subdir \"_pagefind\" \ && rm -rf node_modules .git diff --git a/.docker/nginx.conf b/.docker/nginx.conf index c9f17b7..90af5d5 100644 --- a/.docker/nginx.conf +++ b/.docker/nginx.conf @@ -24,7 +24,7 @@ http { server_name localhost; resolver 127.0.0.11; autoindex off; - port_in_redirect off; + absolute_redirect off; server_name _; server_tokens off; @@ -34,10 +34,6 @@ http { index index.html index.htm; - location = / { - return 301 /documentation/; - } - # Serve static files location /documentation { alias /usr/share/nginx/html; @@ -51,6 +47,5 @@ http { root /usr/share/nginx/html; internal; } - } } diff --git a/compose.yml b/compose.yml index e674885..8807d08 100644 --- a/compose.yml +++ b/compose.yml @@ -11,8 +11,8 @@ services: args: - HTTP_PROXY - HTTPS_PROXY - ports: - - 8082:8082 + # ports: + # - 8082:8082 environment: - HTTP_PROXY=${HTTP_PROXY} - HTTPS_PROXY=${HTTPS_PROXY}