diff --git a/pkg/ddevapp/webserver_config_packr_assets/nginx-site-typo3.conf b/pkg/ddevapp/webserver_config_packr_assets/nginx-site-typo3.conf index ac19d91b4c4..1c36ece0031 100644 --- a/pkg/ddevapp/webserver_config_packr_assets/nginx-site-typo3.conf +++ b/pkg/ddevapp/webserver_config_packr_assets/nginx-site-typo3.conf @@ -31,6 +31,16 @@ server { try_files $uri $uri/ /index.php$is_args$args; } + # TYPO3 11 Backend URL rewriting support + location /typo3/ { + absolute_redirect off; + try_files $uri /typo3/index.php$is_args$args; + } + + location = /typo3 { + return 302 /typo3/; + } + # pass the PHP scripts to FastCGI server listening on socket location ~ \.php$ { try_files $uri =404;