Files
linux-debian/etc/caddy/phpmyadmin_neotech.caddy

21 lines
456 B
Plaintext
Raw Normal View History

2025-10-02 10:17:19 +02:00
phpmyadmin.neotech.fr {
root * /home/neotech/phpmyadmin
encode gzip
php_fastcgi unix//run/php/php8.4-fpm-phpmyadmin_neotech.sock
file_server
# Restriction d'accès uniquement pour adminer.php
@adminer {
path /adminer.php
remote_ip 212.234.212.81
}
# Toutes les autres IP reçoivent 403
@blocked {
path /adminer.php
not remote_ip 212.234.212.81
}
respond @blocked 403
}