nginx help - 20$

Code:

Код:
server {
    listen 80;
    listen [::]:80;
    server_name domain.com www.domain.com;
    root /var/www/html;
    index index.php index.html;

    location / {
        try_files $uri $uri/ /index.php?$uri&$args;
    }

    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/run/php/php8.2-fpm.sock;
        fastcgi_split_path_info ^(.+\.php)(/.*)$;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ