403Webshell
Server IP : 185.143.233.238  /  Your IP : 185.215.232.195
Web Server : nginx/1.22.1
System : Linux server2065 6.1.0-35-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.137-1 (2025-05-07) x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /etc/nginx/sites-enabled/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /etc/nginx/sites-enabled/shamemilad
server {
    listen 80;
    server_name shamemilad.ir www.shamemilad.ir;

    root /var/www/shamemilad;
    index index.php index.html;

    # -----------------------------
    # WordPress
    # -----------------------------
    location / {
        try_files $uri $uri/ /index.php?$args;
    }
    
    location ~* /wp-content/uploads/.*\.php$ {
        deny all;
        access_log off;
        log_not_found off;
    }


    # -----------------------------
    # PHP (AlmaLinux / RHEL)
    # -----------------------------
    location ~ \.php$ {
        fastcgi_pass unix:/run/php/php8.2-fpm.sock;
        fastcgi_index index.php;

        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }

    # -----------------------------
    # Static Files Cache
    # -----------------------------
    location ~* \.(css|js|jpg|jpeg|png|gif|ico|svg|webp|woff|woff2)$ {
        expires 30d;
        access_log off;
    }

    # -----------------------------
    # Security
    # -----------------------------
    location ~ /\.ht {
        deny all;
    }
}


Youez - 2016 - github.com/yon3zu
LinuXploit