Skip to content

Commit

Permalink
Merge branch '10.2' into 11.0
Browse files Browse the repository at this point in the history
# Conflicts:
#	.docker/supervisord.conf
  • Loading branch information
dvesh3 committed Aug 3, 2023
2 parents f8138ae + 5377528 commit 4cee30a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .docker/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@

# mime types are already covered in nginx.conf
#include mime.types;
types {
image/avif avif;
}

upstream php-pimcore10 {
server php:9000;
Expand Down Expand Up @@ -105,7 +102,7 @@ server {

# Assets
# Still use a whitelist approach to prevent each and every missing asset to go through the PHP Engine.
location ~* ^(?!/admin)(.+?)\.((?:css|js)(?:\.map)?|jpe?g|gif|png|svgz?|eps|exe|gz|zip|mp\d|m4a|ogg|ogv|webm|pdf|docx?|xlsx?|pptx?)$ {
location ~* ^(?!/admin)(.+?)\.((?:css|js)(?:\.map)?|jpe?g|gif|png|svgz?|eps|exe|gz|zip|mp\d|m4a|ogg|ogv|webp|webm|pdf|docx?|xlsx?|pptx?)$ {
try_files /var/assets$uri $uri =404;
expires 2w;
access_log off;
Expand Down

0 comments on commit 4cee30a

Please sign in to comment.