Skip to content

Commit

Permalink
Add TYPO3 11 Backend URL rewriting support
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertsoft committed Dec 19, 2020
1 parent a7d5c6a commit 8edbfb3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkg/ddevapp/webserver_config_packr_assets/nginx-site-typo3.conf
Expand Up @@ -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;
Expand Down

0 comments on commit 8edbfb3

Please sign in to comment.