first commit

This commit is contained in:
root
2025-11-16 22:26:59 +01:00
commit af14d373fa
118 changed files with 10255 additions and 0 deletions

23
config/php_fastcgi_webmail.conf Executable file
View File

@@ -0,0 +1,23 @@
# Split PATH_INFO dla static.php i innych
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
# WAŻNE: Przypisz do zmiennej PRZED try_files
set $path_info $fastcgi_path_info;
# 404
try_files $fastcgi_script_name =404;
# default fastcgi_params
include fastcgi_params;
# fastcgi settings
fastcgi_pass unix:/run/php/php-fpm-mail.sock;
fastcgi_index index.php;
fastcgi_buffers 8 16k;
fastcgi_buffer_size 32k;
# fastcgi params
fastcgi_param DOCUMENT_ROOT $realpath_root;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param PATH_INFO $path_info;
fastcgi_param PHP_ADMIN_VALUE "open_basedir=$base/:/usr/lib/php/:/tmp/:/etc/enigma:/run/current-system/sw/bin/gpg2:/usr/bin/gpg:/run/current-system/sw/bin/gpgconf:/usr/bin/gpg-agent:/usr/bin/gpgconf:/run/current-system/sw/bin/gpgconf";