Heray-Was-Here
Server : Apache
System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /var/www/dev/dev/setup/nginx/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/dev/dev/setup/nginx/dolibarr
# Dolibarr server configuration sample for NGinx
server {
        listen 80;
        listen [::]:80;

        root /path/to/your/htdocs;

        # Optional
        error_log /path/to/your/log/directory/nginx.error.log;
	    access_log /path/to/your/log/directory/nginx.access.log;

        index index.php index.html index.htm;

        # Optional
        server_name your-fqdn.tld;

        location / {
                try_files $uri $uri/ /index.php;
        }

        location ~ [^/]\.php(/|$) {
                try_files $uri =404;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_read_timeout 600;
                include fastcgi_params;
                fastcgi_pass unix:/var/run/php5-fpm.sock;  //  /var/run/php/php7.0-fpm.sock
        }
}

Hry