fix typo3 extraconfig
This commit is contained in:
parent
2ceda342e7
commit
a96a27a89b
1 changed files with 4 additions and 6 deletions
|
|
@ -189,6 +189,10 @@ in
|
|||
serverAliases = instanceOpts.domainAliases;
|
||||
|
||||
extraConfig = ''
|
||||
if (!-e $request_filename) {
|
||||
rewrite ^/(.+)\.(\d+)\.(php|js|css|png|jpg|gif|gzip)$ /$1.$3 last;
|
||||
}
|
||||
|
||||
# Virtual endpoint created by nginx to forward auth requests.
|
||||
location /authelia {
|
||||
internal;
|
||||
|
|
@ -265,12 +269,6 @@ in
|
|||
access_log off;
|
||||
'';
|
||||
|
||||
extraConfig = ''
|
||||
if (!-e $request_filename) {
|
||||
rewrite ^/(.+)\.(\d+)\.(php|js|css|png|jpg|gif|gzip)$ /$1.$3 last;
|
||||
}
|
||||
'';
|
||||
|
||||
# TYPO3 - Block access to composer files
|
||||
locations."~* composer\\.(?:json|lock)".extraConfig = ''
|
||||
deny all;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue