Correction & update scripts
This commit is contained in:
		
							parent
							
								
									7f34b60582
								
							
						
					
					
						commit
						6a48bb7506
					
				@ -1,52 +0,0 @@
 | 
			
		||||
 | 
			
		||||
user www;
 | 
			
		||||
worker_processes auto;
 | 
			
		||||
pid /var/www/run/nginx.pid;
 | 
			
		||||
include /etc/nginx/modules-enabled/*.conf;
 | 
			
		||||
 | 
			
		||||
events {
 | 
			
		||||
        worker_connections 768;
 | 
			
		||||
        # multi_accept on;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
http {
 | 
			
		||||
 | 
			
		||||
        ##
 | 
			
		||||
        # Basic Settings
 | 
			
		||||
        ##
 | 
			
		||||
 | 
			
		||||
        sendfile on;
 | 
			
		||||
        tcp_nopush on;
 | 
			
		||||
        tcp_nodelay on;
 | 
			
		||||
        keepalive_timeout 65;
 | 
			
		||||
        types_hash_max_size 2048;
 | 
			
		||||
        # server_tokens off;
 | 
			
		||||
 | 
			
		||||
        include /etc/nginx/mime.types;
 | 
			
		||||
        default_type application/octet-stream;
 | 
			
		||||
 | 
			
		||||
        ##
 | 
			
		||||
        # SSL Settings
 | 
			
		||||
        ##
 | 
			
		||||
 | 
			
		||||
        ssl_protocols TLSv1.2; # Dropping SSLv3, ref: POODLE
 | 
			
		||||
        ssl_prefer_server_ciphers on;
 | 
			
		||||
 | 
			
		||||
        ##
 | 
			
		||||
        # Logging Settings
 | 
			
		||||
        ##
 | 
			
		||||
 | 
			
		||||
        access_log /var/www/logsnginx/access.log;
 | 
			
		||||
        error_log /var/www/logs/nginx/error.log;
 | 
			
		||||
 | 
			
		||||
        ##
 | 
			
		||||
        # Gzip Settings
 | 
			
		||||
        ##
 | 
			
		||||
 | 
			
		||||
        gzip on;
 | 
			
		||||
         ##
 | 
			
		||||
        # Virtual Host Configs
 | 
			
		||||
        ##
 | 
			
		||||
 | 
			
		||||
        include /etc/nginx/sites-enabled/*;
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user