Fix /public and requests to non-matched domains.
This commit is contained in:
parent
2b64283ed9
commit
1198c7606f
2 changed files with 2 additions and 1 deletions
|
|
@ -46,6 +46,7 @@ COPY NginxTemplate.twig /app/
|
||||||
RUN sed -i '1s;^;daemon off\;\n;' /etc/nginx/nginx.conf
|
RUN sed -i '1s;^;daemon off\;\n;' /etc/nginx/nginx.conf
|
||||||
COPY bouncer /app
|
COPY bouncer /app
|
||||||
COPY composer.* /app/
|
COPY composer.* /app/
|
||||||
|
COPY public /app/
|
||||||
RUN composer install && \
|
RUN composer install && \
|
||||||
chmod +x /app/bouncer && \
|
chmod +x /app/bouncer && \
|
||||||
mkdir -p /var/log/bouncer
|
mkdir -p /var/log/bouncer
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ server {
|
||||||
location / {
|
location / {
|
||||||
# First attempt to serve request as file, then
|
# First attempt to serve request as file, then
|
||||||
# as directory, then fall back to displaying a 404.
|
# 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
|
# deny access to .htaccess files, if Apache's document root
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue