Ab sofort steht euch hier im Forum die neue Add-on Verwaltung zur Verfügung – eine zentrale Plattform für alles rund um Erweiterungen und Add-ons für den DSM.
Damit haben wir einen Ort, an dem Lösungen von Nutzern mit der Community geteilt werden können. Über die Team Funktion können Projekte auch gemeinsam gepflegt werden.
Was die Add-on Verwaltung kann und wie es funktioniert findet Ihr hier
location ^~ /phpMyAdmin/ {
fastcgi_read_timeout 300;
root /var/services/web;
include /usr/syno/etc/packages/phpMyAdmin/nginx/*.conf;
location ~ ^/phpMyAdmin/(.*)/\. {
deny all;
}
location ~* \.(jpg|jpeg|png|gif|css|js|ico)$ {
allow 192.168.178.0/24;
expires max;
log_not_found off;
}
location ~ \.php$ {
include fastcgi.conf;
fastcgi_pass unix:/run/php-fpm/php56-fpm.sock;
allow 192.168.178.0/24;
}
}
location = /phpMyAdmin {
fastcgi_read_timeout 300;
root /var/services/web;
include /usr/syno/etc/packages/phpMyAdmin/nginx/*.conf;
try_files $uri/ /phpMyAdmin/index.php$is_args$args;
allow 192.168.178.0/24;

location ^~ /phpMyAdmin/ {
fastcgi_read_timeout 300;
root /var/services/web;
include /usr/syno/etc/packages/phpMyAdmin/nginx/*.conf;
location ~ ^/phpMyAdmin/(.*)/\. {
deny all;
}
location ~* \.(jpg|jpeg|png|gif|css|js|ico)$ {
allow 192.168.178.0/24;
deny all;
expires max;
log_not_found off;
}
location ~ \.php$ {
include fastcgi.conf;
fastcgi_pass unix:/run/php-fpm/php56-fpm.sock;
allow 192.168.178.0/24;
deny all;
}
}
location = /phpMyAdmin {
fastcgi_read_timeout 300;
root /var/services/web;
include /usr/syno/etc/packages/phpMyAdmin/nginx/*.conf;
try_files $uri/ /phpMyAdmin/index.php$is_args$args;
allow 192.168.178.0/24;
deny all;
}
fastcgi_read_timeout 300;
root /var/services/web;
include /usr/syno/etc/packages/phpMyAdmin/nginx/*.conf;
location ~ ^/phpMyAdmin/(.*)/\. {
allow 192.168.11.0/24;
deny all;
}
location ~* \.(jpg|jpeg|png|gif|css|js|ico)$ {
expires max;
log_not_found off;
}
location ~ \.php$ {
include fastcgi.conf;
fastcgi_pass unix:/run/php-fpm/php56-fpm.sock;
allow 192.168.11.0/24;
deny all;
}
}
location = /phpMyAdmin {
fastcgi_read_timeout 300;
root /var/services/web;
include /usr/syno/etc/packages/phpMyAdmin/nginx/*.conf;
try_files $uri/ /phpMyAdmin/index.php$is_args$args;
allow 192.168.11.0/24;
deny all;
}
Vergleiche doch nochmal, dann findest Du den Fehler.
Du hast allow from und deny bereits im ersten Abschnitt stehen. Du kannst auch den Text komplett kopieren und in die Datei kopieren.
Hallo,
nginx schert sich nicht um .htaccess Dateien. Das Ergebnis der Konvertierung kommt in eine .conf Datei unter /usr/local/etc/nginx/sites-enabled.
Nun hat aber phpMyAdmin schon bereits eine conf unter /var/packages/phpMyAdmin/target/synology_added/www.phpMyAdmin.enable.conf und dann gehört das da rein.
Gruß Götz
Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.
Als Dankeschön schalten wir deinen Account werbefrei.