Initial clean version

This commit is contained in:
root
2026-11-11 09:24:28 +01:00
commit ab58b33f9c
156 changed files with 5697 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# Example: PHP-FPM Debian 12. TLS configured separately on reverse proxy.
server {
listen 80;
server_name suspensions.example.fr;
root /var/www/esbsc/public;
index index.php;
client_max_body_size 12m;
location / { try_files $uri /index.php$is_args$args; }
location = /index.php {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/index.php;
fastcgi_pass unix:/run/php/php8.2-fpm.sock;
fastcgi_param DB_DSN "mysql:host=127.0.0.1;dbname=esbsc_suspensions;charset=utf8mb4";
fastcgi_param DB_USER "esbsc";
fastcgi_param DB_PASSWORD "REMPLACER";
fastcgi_param SESSION_SECURE "1";
}
location ~ \.php$ { return 404; }
location ~ /\. { deny all; }
}