* move hooks to bash

* add yml allow dir in storage/app
+ slow log options for mariadb
* nvm fix in workspace build instructions
This commit is contained in:
2020-07-16 23:39:44 +03:00
parent 4b434f2268
commit 88490afe77
10 changed files with 18 additions and 8 deletions

3
config/mariadb/slow.cnf Normal file
View File

@ -0,0 +1,3 @@
[mariadb]
general_log
general_log_file=/var/log/mariadb/mariadb.log

View File

@ -16,6 +16,7 @@
## Let nginx return 404 if static file not exists
location ~ ^/storage/app/uploads/public { try_files $uri /404; }
location ~ ^/storage/app/media { try_files $uri /404; }
location ~ ^/storage/app/yml { try_files $uri /404; }
location ~ ^/files { try_files $uri /404; }
location ~ ^/storage/app/.*\.xls { try_files $uri /404; }
location ~ ^/storage/temp/public { try_files $uri /404; }