Skip to content

Commit

Permalink
fix(web): fix nginx conf (#1907)
Browse files Browse the repository at this point in the history
  • Loading branch information
0fatal committed Mar 14, 2024
1 parent 658fe49 commit b37508a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ FROM nginx:alpine

COPY ./nginx.conf /etc/nginx/conf.d/default.conf
COPY ./dist /usr/share/nginx/html
COPY ./mime.types /etc/nginx/mime.types
4 changes: 0 additions & 4 deletions web/mime.types

This file was deleted.

5 changes: 5 additions & 0 deletions web/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ server {
listen [::]:80;
server_name localhost;

include mime.types;
types {
application/manifest+json webmanifest;
}

#access_log /var/log/nginx/host.access.log main;

# all assets contain hash in filename, cache forever
Expand Down

0 comments on commit b37508a

Please sign in to comment.