HEX
Server: nginx/1.18.0
System: Linux oas2 6.8.0-1039-oracle #40~22.04.1-Ubuntu SMP Wed Oct 29 05:11:00 UTC 2025 aarch64
User: root (0)
PHP: 8.1.2-1ubuntu2.23
Disabled: NONE
Upload Files
File: //proc/825/cwd/etc/nginx/sites-available/xpiceo
server{
        listen 80;
        listen [::]:80;

        server_name xspiceo.com www.xspiceo.com;
        return 301 https://$host$request_uri;
        }

server {
        listen 443 ssl;
        listen [::]:443 ssl;

        ssl_certificate    /etc/nginx/certs/xpic-pubkey.pem;
        ssl_certificate_key    /etc/nginx/certs/xpic-privkey.key;

        root /var/www/xspiceo_com/;

        # Add index.php to the list if you are using PHP
        index index.html index.php index.htm;

        server_name xspiceo.com www.xspiceo.com;

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

        location ~ \.php$ {
                include snippets/fastcgi-php.conf;
        #
        #       # With php-fpm (or other unix sockets):
                fastcgi_pass unix:/run/php/php8.1-fpm.sock;
        #       # With php-cgi (or other tcp sockets):
        #       fastcgi_pass 127.0.0.1:9000;
        }

        # deny access to .htaccess files, if Apache's document root
        # concurs with nginx's one
        #
        #location ~ /\.ht {
        #       deny all;
        #}
}