HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/lib/letsencrypt/backups/1690528762.2984083/quadsite_1
server {
    server_name quadcode.foach.site;
    root /var/www/quadcode/public;

    index index.html index.php;
    client_max_body_size 20M;

    charset utf-8;

    location / {
#       auth_basic "Unauthorized";
#       auth_basic_user_file /var/www/.htpasswd;
        root /var/www/quadcode/dist;
	try_files $uri $uri.html $uri/index.html index.html;
    }

    location /api {
        root /var/www/quadcode/public/;
        try_files $uri $uri/ /index.php?$args;
    }

    location ~ \.php$ {
        try_files $uri =404;
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass unix:/run/php/php8.0-fpm.sock;
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param PATH_INFO $fastcgi_path_info;
        fastcgi_read_timeout 240;
    }

    location = /favicon.ico { access_log off; log_not_found off; }
    location = /robots.txt  { access_log off; log_not_found off; }

    error_page 404 /404.html;

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

    listen 80;
}

#server {
#    if ($host = ipsremont.foach.site) {
#        return 301 https://$host$request_uri;
#    } # managed by Certbot

#    listen 80;
#    server_name ipsremont.foach.site;
#    return 404; # managed by Certbot
#}