Uname:Linux localhost.localdomain 5.14.0-596.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jun 27 16:02:33 UTC 2025 x86_64

403WebShell
403Webshell
Server IP : 14.225.216.240  /  Your IP : 216.73.216.26
Web Server : nginx/1.20.1
System : Linux localhost.localdomain 5.14.0-596.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jun 27 16:02:33 UTC 2025 x86_64
User : taidh ( 1001)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /etc/nginx/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /etc/nginx//nginx.conf
# For more information on configuration, see:
#   * Official English Documentation: http://nginx.org/en/docs/
#   * Official Russian Documentation: http://nginx.org/ru/docs/

user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/nginx.pid;

# Load dynamic modules. See /usr/share/doc/nginx/README.dynamic.
include /usr/share/nginx/modules/*.conf;

events {
    worker_connections 1024;
}

http {
    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;

    sendfile            	on;
    	tcp_nopush          	on;
    	tcp_nodelay         	on;
	# server will close connection after this time -- default 65
    	keepalive_timeout 	30;
	# number of requests client can make over keep-alive -- for testing environment
    	keepalive_requests 	100000;

	types_hash_max_size 	4096;

    	include             	/etc/nginx/mime.types;
    	default_type        	application/octet-stream;
	server_tokens 		off;
	gzip on;
	gzip_comp_level 5;
	gzip_http_version 1.1;
	# gzip_static on;
	gzip_proxied no-cache no-store private expired auth;
	gzip_min_length 1100;
	gzip_buffers 16 8k;
	gzip_vary on;
	gzip_types
    		text/plain
    		text/css
    		#text/js
    		text/xml
    		text/javascript
    		application/javascript
    		application/x-javascript
    		application/json
    		application/xml
    		application/rss+xml
    		image/svg+xml/javascript
		image/svg+xml 
		image/jpeg
		image/png
		image/gif
		svg svgz;
	gzip_disable "msie6";
	
	
	reset_timedout_connection 	on;

	proxy_connect_timeout       	300s;
	proxy_send_timeout          	300s;
	proxy_read_timeout          	300s;
	send_timeout                	300;
	
	fastcgi_connect_timeout 	300s;
	fastcgi_send_timeout 		300s;
	fastcgi_read_timeout 		300s;
	
	fastcgi_buffers 		256 512k;
	fastcgi_buffer_size 		1024k;		
	fastcgi_busy_buffers_size 	1024k;
	fastcgi_temp_file_write_size 	1024k;
	
	client_body_timeout 		2s;
    client_header_timeout 		2s;
	client_max_body_size 		300m;
	client_header_buffer_size	256k;
	client_body_buffer_size 	256k;
	large_client_header_buffers 8 1024k;

	fastcgi_cache_path /home/performance/homeshow-vietnam levels= keys_zone=HOMESHOWVIETNAM:100m inactive=60m;
    fastcgi_cache_path /home/performance/vietnamhardwarefair levels= keys_zone=VHF:100m inactive=60m;
    fastcgi_cache_path /home/performance/eimsvietnam levels= keys_zone=EIMSVIETNAM:100m inactive=60m;


    # Load modular configuration files from the /etc/nginx/conf.d directory.
    # See http://nginx.org/en/docs/ngx_core_module.html#include
    # for more information.
    include /etc/nginx/conf.d/*.conf;


    server {
        listen       80;
        listen       [::]:80;
        server_name  _;
        root         /usr/share/nginx/html;

        # Load configuration files for the default server block.
        include /etc/nginx/default.d/*.conf;

        error_page 404 /404.html;
        location = /404.html {
        }

        error_page 500 502 503 504 /50x.html;
        location = /50x.html {
        }
    }

# Settings for a TLS enabled server.
#
#    server {
#        listen       443 ssl http2;
#        listen       [::]:443 ssl http2;
#        server_name  _;
#        root         /usr/share/nginx/html;
#
#        ssl_certificate "/etc/pki/nginx/server.crt";
#        ssl_certificate_key "/etc/pki/nginx/private/server.key";
#        ssl_session_cache shared:SSL:1m;
#        ssl_session_timeout  10m;
#        ssl_ciphers PROFILE=SYSTEM;
#        ssl_prefer_server_ciphers on;
#
#        # Load configuration files for the default server block.
#        include /etc/nginx/default.d/*.conf;
#
#        error_page 404 /404.html;
#            location = /40x.html {
#        }
#
#        error_page 500 502 503 504 /50x.html;
#            location = /50x.html {
#        }
#    }

}


Youez - 2016 - github.com/yon3zu
LinuXploit