Skip to content

Commit 8ddfc08

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CORS-CDN/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ Installing the **Edgeport - Premium CDN Add-On** on Magento 2 application, you w
44

55
There are several ways how to overcome this issue. One of them we describe here.
66

7-
1. Upload **cors.conf** file from repository directory **CDN-CORS** to **/etc/nginx/** directory.
7+
1. Upload **cors.conf** file from repository directory **CORS-CDN** to **/etc/nginx/** directory.
88

99
2. Open **cors.conf** , find line #5 and replace **magentohostname** with your environment hostname and **magentocdnhostname** with magento CDN hostname obtained upon Add-On installation.
1010

1111
For example: **if ($http_origin ~* 'https?://(localhost|magento\\.jelastic\\.com|magento\\.cdn\\.edgeport\\.net)')**
1212

13-
3. Replace **/etc/nginx/conf.d/site-default.conf** with **site-default.conf** from repository directory **CDN-CORS**.
13+
3. Replace **/etc/nginx/conf.d/site-default.conf** with **site-default.conf** from repository directory **CORS-CDN**.
1414

1515
4. The changes added as lines **67, 79** and **104** to **site-default.conf**.

0 commit comments

Comments
 (0)