fix typo3 extraconfig
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user