Sign inSign up

tlecreate/php_nginx_fastcgi_cache

By tlecreate

•Updated about 7 years ago

php with nginx + fastcgi_cache

Image
0

966

tlecreate/php_nginx_fastcgi_cache repository overview

Alpine + Nginx + PHP included fastchi_cache

⁠env

⁠enable set 1

ENABLE_HTTP=1 ENABLE_HTTPS=0 FASTCGI_CACHE=1

⁠Display PHP error's or not (enable set 1)

ERRORS=1

⁠Custom Error Reporting

ERROR_REPORTING="E_ALL & ~E_DEPRECATED & ~E_STRICT"

⁠Display Version Details or not

HIDE_NGINX_HEADERS=0

⁠Increase the memory_limit (MB) default 128 MB

PHP_MEM_LIMIT=512

⁠Increase the post_max_size(MB) default 8 MB

PHP_POST_MAX_SIZE=50

⁠Increase the upload_max_filesize(MB) default 2 MB

PHP_UPLOAD_MAX_FILESIZE=50

⁠Increase the max_execution_time(Seconds) default 30

PHP_MAX_EXECUTION_TIME=60

⁠Additional file config

⁠Make contition for

⁠set $skip_cache 1 or 0
⁠set $no_cache 1 or 0

wordpress-cache-rules.conf:/etc/nginx/cache-rules.d/wordpress-cache-rules.conf

⁠Make contition for

⁠handle response

wordpress.conf:/etc/nginx/html-rules.d/wordpress.conf

Tag summary

Content type

Image

Digest

Size

63.7 MB

Last updated

about 7 years ago

docker pull tlecreate/php_nginx_fastcgi_cache