nginx-s3/overlay/etc/nginx/nginx.conf

30 lines
537 B
Nginx Configuration File
Raw Normal View History

2019-09-28 17:25:17 +00:00
worker_processes 1;
pid /var/run/nginx.pid;
2023-09-24 22:35:09 +00:00
error_log stderr error;
2019-09-28 17:25:17 +00:00
events {
worker_connections 1024;
}
http {
2023-09-24 22:35:09 +00:00
include /etc/nginx/mime.types;
default_type application/octet-stream;
2019-09-28 17:25:17 +00:00
2023-09-24 22:35:09 +00:00
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
server_tokens off;
access_log off;
2019-09-28 17:25:17 +00:00
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
2023-09-23 12:17:09 +00:00
map $request_uri $request_path {
default $request_uri;
~/$ ${request_uri}index.html;
}
include /etc/nginx/conf.d/vhosts.conf;
2019-09-28 17:25:17 +00:00
}