Skip to content

Commit 9c67d29

Browse files
author
Benjamin Calef
authored
Merge pull request #66 from zepgram/develop
[v1.3.3] increase fastcgi buffers to resolve nginx upstream 502
2 parents 7c8490e + 78dafae commit 9c67d29

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Vagrant.configure(2) do |config|
6666
config.bindfs.default_options = {
6767
force_user: 'vagrant',
6868
force_group: 'www-data',
69-
perms: 'u=rwx:g=rwx:o=r'
69+
perms: 'u=rwx:g=rwx:o=rwx'
7070
}
7171

7272
# NFS mount

config.yaml.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ magento:
1919
url: 'dev.magento.com'
2020
source: 'composer'
2121
edition: 'community'
22-
version: '2.3.4'
22+
version: '2.3.5'
2323
php_version: 'default'
2424
sample: 'true'
2525
mode: 'developer'

provision/120-magento-post.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ if [ "$PROJECT_SOURCE" == "composer" ]; then
3535
fi
3636
if [ -f "$PROJECT_PATH/nginx.conf" ]; then
3737
sudo -u vagrant cp "$PROJECT_PATH"/nginx.conf /home/vagrant/extra/${PROJECT_NAME}.nginx.conf;
38+
sudo -u vagrant sed -i "s/fastcgi_buffers 1024 4k;/fastcgi_buffers 16 14k;\n fastcgi_buffer_size 32k;/" /home/vagrant/extra/${PROJECT_NAME}.nginx.conf;
3839
fi
3940
fi
4041

0 commit comments

Comments
 (0)