fix typo3 extraconfig
This commit is contained in:
@@ -189,6 +189,10 @@ in
|
|||||||
serverAliases = instanceOpts.domainAliases;
|
serverAliases = instanceOpts.domainAliases;
|
||||||
|
|
||||||
extraConfig = ''
|
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.
|
# Virtual endpoint created by nginx to forward auth requests.
|
||||||
location /authelia {
|
location /authelia {
|
||||||
internal;
|
internal;
|
||||||
@@ -265,12 +269,6 @@ in
|
|||||||
access_log off;
|
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
|
# TYPO3 - Block access to composer files
|
||||||
locations."~* composer\\.(?:json|lock)".extraConfig = ''
|
locations."~* composer\\.(?:json|lock)".extraConfig = ''
|
||||||
deny all;
|
deny all;
|
||||||
|
|||||||
Reference in New Issue
Block a user