Package: nginx-common
Version: 1.9.6-2
Severity: wishlist

The need for a custom fastcgi_split_path_info renders snippet unusable.

Case in point:

        location /cluebringer/ {
                alias /usr/share/postfix-cluebringer-webui/webui/;
                index index.php;

                location ~ ".+\.php$" {
                        fastcgi_split_path_info ^/cluebringer(.+\.php)()$;
                        include snippets/fastcgi-php-no-split.conf;
                        ...

fastcgi-php-no-split.conf is the old fastcgi-php.conf without the leading
fastcgi_split_path_info.

fastcgi-php.conf can be rewritten as:

# regex to split $uri to $fastcgi_script_name and $fastcgi_path
fastcgi_split_path_info ^(.+\.php)(/.+)$;

include snippets/fastcgi-php-no-split.conf;
EOF

Thanks,
   Gerardo



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nginx-common depends on:
ii  init-system-helpers  1.24
ii  lsb-base             9.20150917
ii  python               2.7.11-1

nginx-common recommends no packages.

Versions of packages nginx-common suggests:
ii  fcgiwrap   1.1.0-6
pn  nginx-doc  <none>
ii  ssl-cert   1.0.37

-- no debconf information

Reply via email to