mirror of
https://github.com/TheTaz25/denis.ergin.git
synced 2025-07-06 13:08:49 +00:00
build: update dependencies
This commit is contained in:
parent
bc86ed1584
commit
9d54629dc5
4 changed files with 924 additions and 802 deletions
56
nginx.conf
Normal file
56
nginx.conf
Normal file
|
@ -0,0 +1,56 @@
|
|||
worker_processes 2;
|
||||
pid /var/run/nginx.pid;
|
||||
|
||||
error_log /var/log/nginx.error_log info;
|
||||
|
||||
events {
|
||||
worker_connections 2000;
|
||||
}
|
||||
|
||||
http {
|
||||
include mime.types;
|
||||
default_type text/html;
|
||||
|
||||
log_format main '$remote_addr - $remote_user [$time_local] '
|
||||
'"$request" $status $bytes_sent '
|
||||
'"$http_referer" "$http_user_agent" '
|
||||
'"$gzip_ratio"';
|
||||
|
||||
log_format download '$remote_addr - $remote_user [$time_local] '
|
||||
'"$request" $status $bytes_sent '
|
||||
'"$http_referer" "$http_user_agent" '
|
||||
'"$http_range" "$sent_http_content_range"';
|
||||
|
||||
client_header_timeout 3m;
|
||||
client_body_timeout 3m;
|
||||
send_timeout 3m;
|
||||
|
||||
client_header_buffer_size 1k;
|
||||
large_client_header_buffers 4 4k;
|
||||
|
||||
gzip on;
|
||||
gzip_min_length 1100;
|
||||
gzip_buffers 4 8k;
|
||||
gzip_types text/plain;
|
||||
|
||||
output_buffers 1 32k;
|
||||
postpone_output 1460;
|
||||
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
|
||||
keepalive_timeout 75 20;
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
server_name denis-ergin.de;
|
||||
root /usr/share/nginx/html;
|
||||
|
||||
access_log /var/log/nginx.access_log main;
|
||||
|
||||
location / {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue