HEX
Server: nginx/1.24.0
System: Linux nowruzgan 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64
User: babak (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/lib/letsencrypt/backups/1745617421.418585/wordpress.cnf_14
    client_max_body_size 512M;

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

    location ~ \.php$ {
        try_files $uri /index.php =404;
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param PHP_VALUE "upload_max_filesize=512M;\n post_max_size=512M;\n memory_limit=256M;\n max_execution_time=600;";
        include fastcgi_params;
    }

    location ~* \.(js|css|png|jpg|jpeg|gif|ico|eot|otf|ttf|woff|mp4|mp3)$ {
        add_header Access-Control-Allow-Origin *;
        add_header Cache-Control "public, max-age=31536000, immutable";
        access_log off; log_not_found off;
    }

    location = /robots.txt { access_log off; log_not_found off; }
    location ~ /\. { deny all; access_log off; log_not_found off; }

    location ~* /wp-includes/.*.php$ {
      deny all;
      access_log off;
      log_not_found off;
    }

    location ~* /wp-content/.*.php$ {
      deny all;
      access_log off;
      log_not_found off;
    }

    location ~* /(?:uploads|files)/.*.php$ {
      deny all;
      access_log off;
      log_not_found off;
    }

    location = /xmlrpc.php {
      deny all;
      access_log off;
      log_not_found off;
    }