|
|
@ -15,11 +15,11 @@ |
|
|
|
location = /humans.txt { try_files $uri /index.php; } |
|
|
|
|
|
|
|
## Let nginx return 404 if static file not exists |
|
|
|
#location /storage/app/uploads/public { try_files $uri /404; } |
|
|
|
#location /storage/app/media { try_files $uri /404; } |
|
|
|
#location /storage/app/yml { try_files $uri /404; } |
|
|
|
location /storage/app/uploads/public { try_files $uri /404; } |
|
|
|
location /storage/app/media { try_files $uri /404; } |
|
|
|
location /storage/app/yml { try_files $uri /404; } |
|
|
|
location /storage/app/resized { try_files $uri /404; } |
|
|
|
#location /storage/temp/public { try_files $uri /404; } |
|
|
|
location /storage/temp/public { try_files $uri /404; } |
|
|
|
|
|
|
|
location ~ ^/modules/.*/assets { try_files $uri /404; } |
|
|
|
location ~ ^/modules/.*/resources { try_files $uri /404; } |
|
|
@ -43,9 +43,4 @@ |
|
|
|
location ~ ^/plugins/.*/.*/widgets/.*/assets { try_files $uri /404; } |
|
|
|
location ~ ^/plugins/.*/.*/widgets/.*/resources { try_files $uri /404; } |
|
|
|
|
|
|
|
location ~ ^/themes/.*/assets { |
|
|
|
try_files $uri /404; |
|
|
|
access_log off; |
|
|
|
expires max; |
|
|
|
} |
|
|
|
location ~ ^/themes/.*/resources { try_files $uri /404; } |