Skip to content

Commit b57f8b0

Browse files
authored
MCLOUD-8450: Remove limitation of memory limit in nginx container (#85)
1 parent a72b567 commit b57f8b0

File tree

7 files changed

+7
-1
lines changed

7 files changed

+7
-1
lines changed

images/nginx/1.19/etc/vhost.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ server {
161161
fastcgi_buffers 1024 4k;
162162

163163
fastcgi_param PHP_FLAG "session.auto_start=off \n suhosin.session.cryptua=off";
164-
fastcgi_param PHP_VALUE "memory_limit=768M \n max_execution_time=18000";
164+
fastcgi_param PHP_VALUE "max_execution_time=18000";
165165
fastcgi_read_timeout 600s;
166166
fastcgi_connect_timeout 600s;
167167
fastcgi_param MAGE_MODE $MAGE_MODE;

images/php/7.2-fpm/etc/php-fpm.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
memory_limit = ${PHP_MEMORY_LIMIT}
22
opcache.enable = 1
33
opcache.validate_timestamps = ${PHP_VALIDATE_TIMESTAMPS}
4+
user_ini.filename =

images/php/7.3-fpm/etc/php-fpm.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
memory_limit = ${PHP_MEMORY_LIMIT}
22
opcache.enable = 1
33
opcache.validate_timestamps = ${PHP_VALIDATE_TIMESTAMPS}
4+
user_ini.filename =

images/php/7.4-fpm/etc/php-fpm.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
memory_limit = ${PHP_MEMORY_LIMIT}
22
opcache.enable = 1
33
opcache.validate_timestamps = ${PHP_VALIDATE_TIMESTAMPS}
4+
user_ini.filename =

images/php/8.0-fpm/etc/php-fpm.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
memory_limit = ${PHP_MEMORY_LIMIT}
22
opcache.enable = 1
33
opcache.validate_timestamps = ${PHP_VALIDATE_TIMESTAMPS}
4+
user_ini.filename =

images/php/8.1-fpm/etc/php-fpm.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
memory_limit = ${PHP_MEMORY_LIMIT}
22
opcache.enable = 1
33
opcache.validate_timestamps = ${PHP_VALIDATE_TIMESTAMPS}
4+
user_ini.filename =

images/php/fpm/etc/php-fpm.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
memory_limit = ${PHP_MEMORY_LIMIT}
22
opcache.enable = 1
33
opcache.validate_timestamps = ${PHP_VALIDATE_TIMESTAMPS}
4+
user_ini.filename =

0 commit comments

Comments
 (0)