Skip to content

Commit

Permalink
Create nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha Lucius committed Jul 13, 2024
1 parent 748d882 commit 9395a30
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
server {
listen 80;
listen [::]:80;
server_name _;

location / {
root /usr/share/nginx/html;
try_files $uri $uri/index.html $uri.html /index.html;
}

include mime.types;
types {
application/javascript js mjs;
}
}

0 comments on commit 9395a30

Please sign in to comment.