greg-md / php-app-imagix
Integration of PHP Imagix in Greg PHP Application.
dev-master
2019-07-24 08:35 UTC
Requires
- php: ^7.3
- greg-md/php-app-installer: dev-master
- greg-md/php-imagix: dev-master
Requires (Dev)
This package is auto-updated.
Last update: 2025-01-19 23:39:43 UTC
README
Integration of PHP Imagix in Greg PHP Application.
Table of Contents
Requirements
Installation
Download package:
composer require greg-md/php-app-imagix
Install package:
./greg install greg-imagix
Configuration
Nginx
# Imagix
location ~* ^/imagix/.+ {
# If images doesn't exists, send to PHP to create it.
if (!-f $document_root$uri) {
rewrite .+ /imagix.php last;
}
expires max;
add_header Pragma public;
add_header Cache-Control "public";
add_header Vary "Accept-Encoding";
}
License
MIT © Grigorii Duca