1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

cha2524222fvdfа

This commit is contained in:
MoonTestUse1
2024-12-24 03:49:03 +06:00
parent 802d935be3
commit 94966a49c1

View File

@@ -1,23 +1,30 @@
user nginx;
worker_processes auto; worker_processes auto;
error_log /var/log/nginx/error.log warn; pid /run/nginx.pid;
pid /var/run/nginx.pid;
events { events {
worker_connections 1024; worker_connections 768;
} }
http { http {
include /etc/nginx/mime.types; include /etc/nginx/mime.types;
default_type application/octet-stream; default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent"';
access_log /var/log/nginx/access.log main; sendfile on;
tcp_nopush on;
keepalive_timeout 65;
sendfile on; # Logging configuration
keepalive_timeout 65; log_format main '$remote_addr - $remote_user [$time_local] "$request" '
include /etc/nginx/conf.d/*.conf; '$status $body_bytes_sent "$http_referer" '
} '"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
# Gzip compression
gzip on;
gzip_types text/plain text/css application/json application/javascript;
# Include virtual host configs
include /etc/nginx/conf.d/*.conf;
}