Created
March 20, 2019 06:05
-
-
Save mohamednizar/15cdb42bd09c3041066e64ab6acd10c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
; Override default pid file | |
pid = /run/php-fpm.pid | |
; Avoid logs being sent to syslog | |
error_log = /proc/self/fd/2 | |
[www] | |
; Access from webserver container is via network, not socket file | |
listen = [::]:9000 | |
pm = dynamic | |
pm.max_children = 500 | |
pm.max_requests = 5000 | |
pm.start_servers = 100 | |
pm.min_spare_servers = 100 | |
pm.max_spare_servers = 300 | |
; Redirect logs to stdout - FPM closes /dev/std* on startup | |
access.log = /proc/self/fd/2 | |
catch_workers_output = yes | |
; Required to allow config-by-environment | |
clear_env = no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upload_max_filesize = 100M | |
post_max_size = 108M | |
memory_limit = 512M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment