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;
|
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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue