Skip to content

Commit

Permalink
added mime types
Browse files Browse the repository at this point in the history
  • Loading branch information
AtibQur committed Nov 18, 2024
1 parent 33b03ad commit 2bc8b7e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,16 @@ http {
access_log nginx_access.log;
error_log nginx_error.log info;

include /etc/nginx/mime.types;
types {
text/html html htm shtml;
text/css css;
application/javascript js;
application/wasm wasm;
image/png png;
image/jpeg jpg jpeg;
image/svg+xml svg;
}

default_type application/octet-stream;

sendfile on;
Expand Down

0 comments on commit 2bc8b7e

Please sign in to comment.