Skip to content

Commit

Permalink
Update nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeMBourgeois authored May 27, 2024
1 parent a625c8c commit 13d3a56
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# nginx.conf
events {
worker_connections 4096; ## Default: 1024
}

http {
types {
module js;
module js;
}
include /etc/nginx/mime.types;

Expand All @@ -15,10 +16,8 @@ http {
gzip_types text/css application/javascript application/json image/svg+xml;
gzip_comp_level 9;
etag on;

location / {
try_files $uri $uri/ /index.html;
}
}

}

0 comments on commit 13d3a56

Please sign in to comment.