2019-09-28 17:25:17 +00:00
|
|
|
worker_processes 1;
|
2023-09-25 20:44:48 +00:00
|
|
|
pid /var/tmp/nginx/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;
|
|
|
|
}
|
|
|
|
|
2023-09-24 13:12:22 +00:00
|
|
|
include /etc/nginx/conf.d/vhosts.conf;
|
2019-09-28 17:25:17 +00:00
|
|
|
}
|