From e45ca67857f8e0b92077494699c6646466091bef Mon Sep 17 00:00:00 2001 From: Hynek Nerad Date: Tue, 13 Aug 2024 12:28:18 +0200 Subject: [PATCH] nginx customer file location added --- UPGRADE.md | 4 ++++ kubernetes/configmap/nginx.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/UPGRADE.md b/UPGRADE.md index b213a7a..34e49bf 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -10,6 +10,10 @@ 2. Run `composer update shopsys/deployment` 3. Check files in mentioned pull requests and if you have any of them extended in your project, apply changes manually +## Upgrade from v3.2.3 to v3.2.4 + +- nginx app location for customer uploaded file added ([#21](https://github.com/shopsys/deployment/pull/21)) + ## Upgrade from v3.2.2 to v3.2.3 - implemented script to send slack notification about deployment process ([#23](https://github.com/shopsys/deployment/pull/23)) diff --git a/kubernetes/configmap/nginx.yaml b/kubernetes/configmap/nginx.yaml index d3ee38a..f941b60 100644 --- a/kubernetes/configmap/nginx.yaml +++ b/kubernetes/configmap/nginx.yaml @@ -98,7 +98,7 @@ data: fastcgi_param SCRIPT_FILENAME $realpath_root/resolveFriendlyUrl.php; } - location ~ /(admin|public|content|ckeditor|build|bundles|graphql|_profiler|_wdt|file|redirect|elfinder|efconnect|personal-overview-export|social-network) { + location ~ /(admin|public|content|ckeditor|build|bundles|graphql|_profiler|_wdt|file|customer-file|redirect|elfinder|efconnect|personal-overview-export|social-network) { location ~ /\. { # hide dotfiles (send to @app)