Skip to content

Commit

Permalink
Add rewrite rule to TYPO3 nginx configuration, fixes #1030 (#1032)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim authored and rfay committed Aug 7, 2018
1 parent 6da3770 commit fdf6f7a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ server {
deny all;
}

if (!-e $request_filename) {
rewrite ^/(.+)\.(\d+)\.(php|js|css|png|jpg|gif|gzip)$ /$1.$3 last;
}

location ~ ^/(fpmstatus|ping)$ {
access_log off;
stub_status on;
Expand Down

0 comments on commit fdf6f7a

Please sign in to comment.