+ php intl
* fix blocking all php script except index.php
This commit is contained in:
@ -41,7 +41,7 @@
|
||||
locations:
|
||||
- pattern: '~ ^/*.-backend/'
|
||||
options: set $upstream unix:/run/php7.4-fpm-backend.sock;
|
||||
- pattern: '~* ^(?!.+\.php/)(.+\.php)$'
|
||||
- pattern: '~* ^(?!/index).*\.php$'
|
||||
options: return 403;
|
||||
|
||||
php_options: |
|
||||
|
@ -35,7 +35,8 @@
|
||||
# mysql - это нужно только для WordPress
|
||||
# mbstring требует только некоторые пакеты в laravel
|
||||
# bcmath - нужно для работы парсера Excel файлов на одном из проектов
|
||||
php__packages: [ 'curl', 'xml', 'gd', 'zip', 'mbstring', 'mysql', 'bcmath' ]
|
||||
# Laravel/OctoberCMS: intl
|
||||
php__packages: [ 'curl', 'xml', 'gd', 'zip', 'mbstring', 'mysql', 'bcmath', 'intl' ]
|
||||
php__composer_upstream_enabled: '{{ True
|
||||
if (ansible_distribution_release in
|
||||
[ "buster" ])
|
||||
|
Reference in New Issue
Block a user