You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CORS-CDN/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,12 @@ Installing the **Edgeport - Premium CDN Add-On** on Magento 2 application, you w
4
4
5
5
There are several ways how to overcome this issue. One of them we describe here.
6
6
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.
8
8
9
9
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.
10
10
11
11
For example: **if ($http_origin ~* 'https?://(localhost|magento\\.jelastic\\.com|magento\\.cdn\\.edgeport\\.net)')**
12
12
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**.
14
14
15
15
4. The changes added as lines **67, 79** and **104** to **site-default.conf**.
0 commit comments