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

change docker555

This commit is contained in:
MoonTestUse1
2024-12-24 02:07:28 +06:00
parent f132f5e4eb
commit 84ddce098a

View File

@@ -1,8 +1,5 @@
# Main Nginx configuration
worker_processes auto;
pid /var/run/nginx.pid;
# Error log configuration
error_log /var/log/nginx/error.log warn;
events {
@@ -10,25 +7,18 @@ events {
}
http {
# Basic settings
include /etc/nginx/mime.types;
default_type application/octet-stream;
# Logging configuration
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
log_format main '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
# Performance settings
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
# Gzip settings
gzip on;
gzip_disable "msie6";
gzip_vary on;
@@ -36,6 +26,5 @@ http {
gzip_comp_level 6;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
# Virtual host configurations
include /etc/nginx/conf.d/*.conf;
}