HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: /home/xedaptot/tracking.naniguide.com/nginx.conf
#SAMPLE NGINX CONF FILE
server {
    listen 80;
    
    # MAKE SURE THE DOCUMENT ROOT IS THE /public IN THE FOLDER WHERE THE DOMAIN POINTS TO (required)
    root        /PATHTODOMAINROOT/public;

    add_header X-Frame-Options "SAMEORIGIN";
    add_header X-Content-Type-Options "nosniff";

    index index.php;

    charset utf-8;

    ## SAMPLE REWRITE RULE FOR THE SCRIPT (required)
    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

    ## 404 ERROR (optional)
    error_page 404 /index.php;

    ## THIS IS JUST A SAMPLE, IT WILL DEPEND ON YOUR SERVER
    location ~ \.php$ {
        fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
        include fastcgi_params;
    }

    location ~ /\.(?!well-known).* {
        deny all;
    }
}