Hallo Leute, ich brauche ein wenig Hilfe, mit Nginx-Konfiguration. Also mein Problem ist, dass ich nicht phpmyadmin in meinem Website-Stammverzeichnis haben möchte. Nun meine nginx.conf aussieht:nginix ändern root-Verzeichnis wenn location = etwas
server {
listen 80;
server_name 192.168.21.177;
charset utf-8;
access_log /dev/null main;
error_log /dev/null;
root /home/web/wesite1;
location/{
index index.php;
}
location /phpmyadmin/ {
root /home/web/phpmyadmin;
index index.php;
}
location ~ \.php$ {
include fastcgi_params;
}
location ~ /\.ht {
deny all;
}
}
Aber es funktioniert nicht. Danke :)