diff --git a/doc/docker/nginx.conf b/doc/docker/nginx.conf index 192ecbc278..39b0bb554c 100644 --- a/doc/docker/nginx.conf +++ b/doc/docker/nginx.conf @@ -36,7 +36,7 @@ server { try_files $uri $uri/ =404; location ~ ^/egroupware(/(?U).+\.php) { # do not allow to call files ment to be included only - location ~ /(src|setup|inc|vendor)/ { + location ~ ^$path/(vendor|[^/]+/(src|setup|inc))/ { return 403; } alias /usr/share/egroupware;