This repository has been archived on 2021-08-14. You can view files and clone it, but cannot push or open issues/pull-requests.
bever-dam/nginx.conf

27 lines
552 B
Nginx Configuration File

worker_processes 1;
events {
worker_connections 1024;
}
http {
# https://stackoverflow.com/a/51360290/6483444
map $sent_http_content_type $expires {
default off;
text/html epoch;
text/css max;
application/javascript max;
~image/ max;
}
server {
server_name _;
listen 80;
root /usr/share/nginx/html;
index index.html;
include mime.types;
expires $expires;
}
}