File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1919 proxy_send_timeout 300 ;
2020 proxy_read_timeout 300 ;
2121
22+ add_header Access-Control-Allow-Origin "*" ;
2223 types_hash_max_size 2048 ;
2324
2425 log_format docker '[$time_local] - $scheme://$host$uri '
Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ location /static/ {
102102 # Uncomment the following line in production mode
103103 # expires max;
104104
105+ add_header Access-Control-Allow-Origin "*";
106+
105107 # Remove signature of the static files that is used to overcome the browser cache
106108 location ~ ^/static/version {
107109 rewrite ^/static/(version\d*/)?(.*)$ /static/$2 last;
@@ -174,7 +176,7 @@ location /media/import/ {
174176rewrite /pub/health_check.php /health_check.php;
175177
176178# PHP entry point for main application
177- location ~ ^/(index|get|static|errors/report|errors/404|errors/503|health_check)\.php$ {
179+ location ~ ^/(index|get|static|errors/report|errors/404|errors/503|health_check|search )\.php$ {
178180 try_files .~srcfile @php;
179181}
180182
You can’t perform that action at this time.
0 commit comments