Spaces:
Running
Running
Commit
•
af921ab
1
Parent(s):
469bd3d
Update default.conf
Browse files- default.conf +3 -0
default.conf
CHANGED
@@ -5,6 +5,9 @@ server {
|
|
5 |
#access_log /var/log/nginx/host.access.log main;
|
6 |
|
7 |
location / {
|
|
|
|
|
|
|
8 |
root /usr/share/nginx/html;
|
9 |
index index.html index.htm;
|
10 |
}
|
|
|
5 |
#access_log /var/log/nginx/host.access.log main;
|
6 |
|
7 |
location / {
|
8 |
+
add_header 'Access-Control-Allow-Origin' '*';
|
9 |
+
add_header 'Cross-Origin-Embedder-Policy' 'require-corp';
|
10 |
+
add_header 'Cross-Origin-Opener-Policy' 'same-origin';
|
11 |
root /usr/share/nginx/html;
|
12 |
index index.html index.htm;
|
13 |
}
|