Skip to content

Commit

Permalink
fix: nginx conf (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
MattMod committed Jul 4, 2022
1 parent ab32bca commit 8f9b659
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fe-piattaforma/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN apk --update add nginx

RUN rm -rf /usr/share/nginx/html/*

COPY fe-piattaforma.nginx.conf /etc/nginx/conf.d/
COPY fe-piattaforma.nginx.conf /etc/nginx/conf.d/default.conf

COPY build /usr/share/nginx/html

Expand Down
2 changes: 1 addition & 1 deletion fe-piattaforma/fe-piattaforma.nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ server {
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri /index.html;
try_files $uri /index.html$is_args$args =404;
}

#error_page 404 /404.html;
Expand Down

0 comments on commit 8f9b659

Please sign in to comment.