| Server IP : 14.225.216.240 / Your IP : 216.73.216.26 Web Server : nginx/1.20.1 System : Linux localhost.localdomain 5.14.0-596.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jun 27 16:02:33 UTC 2025 x86_64 User : taidh ( 1001) PHP Version : 8.3.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/lib/letsencrypt/backups/1772873041.3755233/ |
Upload File : |
#---------- PTS-DIGITAL.COM ---------------#
server {
server_name pts-digital.com www.pts-digital.com;
root /home/pts/public;
index index.php;
location / {
fastcgi_buffering off;
root /home/pts/public;
index index.php;
if (-f $request_filename) {
break;
}
# otherwise rewrite the fucker
if (!-e $request_filename) {
rewrite ^.*$ /index.php last;
}
}
# Restrictions
# Disable logging for favicon and robots.txt
location = /favicon.ico {
log_not_found off;
}
location = /robots.txt {
allow all;
try_files $uri /index.php?$args;
}
location ~ \.php$ {
fastcgi_pass php-fpm;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /home/pts/public$fastcgi_script_name;
include fastcgi_params;
client_body_timeout 5s;
fastcgi_connect_timeout 60;
fastcgi_send_timeout 3m;
fastcgi_read_timeout 3m;
client_max_body_size 100m;
fastcgi_buffer_size 48k;
fastcgi_buffers 256 4k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
fastcgi_intercept_errors on;
}
location ~* \.(jpg|jpeg|png|gif|ico|css|js|woff|woff2|ttf|svg|mp4|webp|webm)$ {
#expires epoch;
expires 30d;
add_header Cache-Control public;
add_header P3P 'policyref="/w3c/p3p.xml", CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT", CP="CAO PSA OUR"';
add_header Access-Control-Allow-Origin *;
}
location ~ /\.(ht|svn) {
deny all;
}
listen 80;
}
server {
server_name static.pts-digital.com;
root /home/pts/st;
location ~* \.(jpg|jpeg|png|gif|ico|css|js|woff|woff2|ttf|svg|mp4|otf|webp|webm)$ {
#expires epoch;
expires 30d;
add_header Cache-Control public;
add_header P3P 'policyref="/w3c/p3p.xml", CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT", CP="CAO PSA OUR"';
add_header Access-Control-Allow-Origin *;
}
listen 80;
}