mirror of
https://github.com/cloudpanel-io/vhost-templates.git
synced 2026-05-18 08:23:31 +08:00
.
This commit is contained in:
@@ -27,6 +27,10 @@ server {
|
||||
|
||||
{{settings}}
|
||||
|
||||
location ~* ^/media/custom_options/ {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location ~/media/ {
|
||||
add_header Access-Control-Allow-Origin "*";
|
||||
expires max;
|
||||
|
||||
@@ -23,6 +23,10 @@ server {
|
||||
|
||||
{{settings}}
|
||||
|
||||
location ~* ^/media/custom_options/ {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location ~/media/ {
|
||||
add_header Access-Control-Allow-Origin "*";
|
||||
expires max;
|
||||
|
||||
Reference in New Issue
Block a user