diff --git a/apps/cedille-wiki/base/deployment.yaml b/apps/cedille-wiki/base/deployment.yaml index c96c0b0..3c78b68 100644 --- a/apps/cedille-wiki/base/deployment.yaml +++ b/apps/cedille-wiki/base/deployment.yaml @@ -17,7 +17,7 @@ spec: image: ghcr.io/clubcedille/wiki-cedille:latest imagePullPolicy: Always ports: - - containerPort: 8000 + - containerPort: 8080 resources: requests: cpu: 100m diff --git a/wiki/Dockerfile b/wiki/Dockerfile index 1ecaf7b..5f52327 100644 --- a/wiki/Dockerfile +++ b/wiki/Dockerfile @@ -17,6 +17,7 @@ COPY --from=builder /app/site/ /usr/share/nginx/html/ COPY --from=builder /app/docs/assets/* /usr/share/nginx/html/fr/assets/ COPY --from=builder /app/docs/assets/* /usr/share/nginx/html/en/assets/ COPY --from=builder /app/docs/stylesheets/* /usr/share/nginx/html/en/stylesheets/ +COPY --from=builder /app/docs/stylesheets/* /usr/share/nginx/html/fr/stylesheets/ COPY wiki/nginx.conf /etc/nginx/nginx.conf diff --git a/wiki/nginx.conf b/wiki/nginx.conf index 7b7bb45..adcae57 100644 --- a/wiki/nginx.conf +++ b/wiki/nginx.conf @@ -20,7 +20,7 @@ http { sendfile on; #tcp_nopush on; - + keepalive_timeout 65; client_body_temp_path /tmp/client_temp; @@ -38,7 +38,6 @@ http { server_name _; location / { - absolute_redirect off; return 301 /fr; }