From 1198c7606f0ae81db0642dc15ae2ffe9bd55ca55 Mon Sep 17 00:00:00 2001 From: Matthew Baggett Date: Fri, 6 May 2022 04:52:55 +0200 Subject: [PATCH] Fix /public and requests to non-matched domains. --- bouncer/Dockerfile | 1 + bouncer/NginxDefault | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bouncer/Dockerfile b/bouncer/Dockerfile index 9db4c45..c916290 100644 --- a/bouncer/Dockerfile +++ b/bouncer/Dockerfile @@ -46,6 +46,7 @@ COPY NginxTemplate.twig /app/ RUN sed -i '1s;^;daemon off\;\n;' /etc/nginx/nginx.conf COPY bouncer /app COPY composer.* /app/ +COPY public /app/ RUN composer install && \ chmod +x /app/bouncer && \ mkdir -p /var/log/bouncer diff --git a/bouncer/NginxDefault b/bouncer/NginxDefault index 0ef6b45..20e28f6 100644 --- a/bouncer/NginxDefault +++ b/bouncer/NginxDefault @@ -13,7 +13,7 @@ server { location / { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. - try_files $uri $uri/; + #try_files $uri $uri/; } # deny access to .htaccess files, if Apache's document root