LibreQR 2.0.0 + better packaging practices #11

Merged
miraty merged 23 commits from testing into master 2022-08-26 23:29:09 +02:00
Showing only changes of commit 940e3fd593 - Show all commits

View file

@ -7,16 +7,15 @@ location __PATH__/ {
index index.php;
# Chrooted PHP-FPM
location ~ ^__PATH__(?<chroot_path>/.*\.php)$ {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
#sub_path_only location ~ ^__PATH__(?<chroot_path>/.*\.php)$ {
#root_path_only location ~ ^(?<chroot_path>/.*\.php)$ {
alias /;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param REMOTE_USER $remote_user;
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $chroot_path;
include fastcgi_params;
}
# Security related headers