mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
formulaire: correctifs identifiant/année, contact, fichiers optionnels
- Identifiant: mise à jour automatique quand l'année change en back-office (updateThesis + ThesisEditController) - Contact: hint enrichi (1 seul contact, formatage Instagram/Mastodon) - Fichiers: TFE rendu optionnel pour Site web/Performance/Installation (note d'intention reste obligatoire)
This commit is contained in:
@@ -49,8 +49,8 @@ server {
|
||||
# server_tokens off;
|
||||
|
||||
# Max upload size (for thesis files — can include video)
|
||||
client_max_body_size 1024M;
|
||||
client_body_timeout 300s;
|
||||
client_max_body_size 8192M;
|
||||
client_body_timeout 600s;
|
||||
|
||||
# Logging
|
||||
access_log /var/log/nginx/xamxam_access.log;
|
||||
@@ -140,11 +140,11 @@ server {
|
||||
fastcgi_pass unix:/var/run/php/php8.4-fpm.sock;
|
||||
|
||||
# Security parameters (must be <= client_max_body_size)
|
||||
fastcgi_param PHP_VALUE "upload_max_filesize=1024M \n post_max_size=1024M";
|
||||
fastcgi_param PHP_VALUE "upload_max_filesize=8192M \n post_max_size=8192M";
|
||||
|
||||
# Timeouts
|
||||
fastcgi_read_timeout 300;
|
||||
fastcgi_send_timeout 300;
|
||||
fastcgi_read_timeout 600;
|
||||
fastcgi_send_timeout 600;
|
||||
}
|
||||
|
||||
# Additional security headers for admin
|
||||
@@ -160,9 +160,9 @@ server {
|
||||
location ~ \.php$ {
|
||||
include snippets/fastcgi-php.conf;
|
||||
fastcgi_pass unix:/var/run/php/php8.4-fpm.sock;
|
||||
fastcgi_param PHP_VALUE "upload_max_filesize=1024M \n post_max_size=1024M";
|
||||
fastcgi_read_timeout 300;
|
||||
fastcgi_send_timeout 300;
|
||||
fastcgi_param PHP_VALUE "upload_max_filesize=8192M \n post_max_size=8192M";
|
||||
fastcgi_read_timeout 600;
|
||||
fastcgi_send_timeout 600;
|
||||
}
|
||||
try_files $uri /index.php$is_args$args;
|
||||
}
|
||||
@@ -188,11 +188,11 @@ server {
|
||||
fastcgi_pass unix:/var/run/php/php8.4-fpm.sock;
|
||||
|
||||
# Security parameters (must be <= client_max_body_size)
|
||||
fastcgi_param PHP_VALUE "upload_max_filesize=1024M \n post_max_size=1024M";
|
||||
fastcgi_param PHP_VALUE "upload_max_filesize=8192M \n post_max_size=8192M";
|
||||
|
||||
# Timeouts
|
||||
fastcgi_read_timeout 300;
|
||||
fastcgi_send_timeout 300;
|
||||
fastcgi_read_timeout 600;
|
||||
fastcgi_send_timeout 600;
|
||||
}
|
||||
|
||||
# All other clean URLs — fall through to front controller
|
||||
|
||||
Reference in New Issue
Block a user