Skip to content

Commit 881b9e0

Browse files
author
Administrator
committed
CORS issue fixing updated
1 parent 8ddfc08 commit 881b9e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CORS-CDN/cors.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set $cors 'true';
22

3-
#### Replace **magentohostname** with Jelastic platform hostname or customdomain and **magentocdnhostname** with magento CDN hostname obtained from add-on or CDN custom domain you've bound to the environment.
3+
#### Replace "magentohostname" with Jelastic platform hostname or customdomain and "magentocdnhostname" with magento CDN hostname obtained from add-on or CDN custom domain you've bound to the environment.
44
#### For example: if ($http_origin ~* 'https?://(localhost|magento\.jelastic\.com|magento\.cdn\.edgeport\.net)') {
55
if ($http_origin ~* 'https?://(localhost|magentohostname|magentocdnhostname)') {
66
set $cors 'true';

0 commit comments

Comments
 (0)