Kurulum kontrolü

PHP: 7.4.33 OK

curl: var

Plesk’te nginx menüsü yoksa: klasör içi .htaccess dosyaları kullanın (assets/, mga/, people-management/arkcso/v0/).

PHP: en az 7.4 (öneri 8.1+). Admin/randevu: admin-probe.php, randevu-probe.php

Plesk MySQL: config/database.local.example.php → config/database.local.php kopyalayıp doldurun.

TestHTTPSonuçNot
Doğrudan asset-proxy 200 OK
/assets/ (rewrite) 200 OK
config.php 200 OK
/config/ 200 OK
Garanti config (dış) 200 OK

Nginx directives (varsa)

# Plesk → domain → Apache & nginx Settings → Additional nginx directives
# Sonra: Apache & nginx Settings → "Serve static files directly by nginx" KAPALI olabilir (sorun devam ederse).

location = /config {
    rewrite ^ /config.php last;
}

location = /error {
    rewrite ^ /error.php last;
}

location ^~ /assets/ {
    rewrite ^/assets/(.*)$ /asset-proxy.php?path=$1 last;
}

location ^~ /locales/ {
    rewrite ^/locales/(.*)$ /asset-proxy.php?path=locales/$1 last;
}

location ^~ /customers-proxy/ {
    rewrite ^/customers-proxy/(.*)$ /customers-proxy.php?path=$1 last;
}

location ^~ /mga/ {
    rewrite ^/mga/(.*)$ /api-proxy.php?path=mga/$1 last;
}

location = /people-management/arkcso/v0/login {
    rewrite ^ /index.php last;
}

location = /people-management/arkcso/v0/login/ {
    rewrite ^ /index.php last;
}

location = /people-management/arkcso/v0/randevu {
    rewrite ^ /randevu.php last;
}

location = /people-management/arkcso/v0/randevu/ {
    rewrite ^ /randevu.php last;
}

location ^~ /people-management/arkcso/v0/ {
    rewrite ^/people-management/arkcso/v0/(.*)$ /api-proxy.php?path=people-management/arkcso/v0/$1 last;
}