Xenova HF staff commited on
Commit
aefa780
·
1 Parent(s): 04963ae

Create nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +19 -0
nginx.conf ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ server {
2
+ listen 8080;
3
+ listen [::]:8080;
4
+ server_name localhost;
5
+
6
+ #access_log /var/log/nginx/host.access.log main;
7
+
8
+ location / {
9
+ root /usr/share/nginx/html;
10
+ index index.html index.htm;
11
+
12
+ add_header 'Cross-Origin-Embedder-Policy' 'require-corp';
13
+ add_header 'Cross-Origin-Opener-Policy' 'same-origin';
14
+ add_header 'Cross-Origin-Resource-Policy' 'cross-origin';
15
+
16
+ }
17
+ #error_page 404 /404.html;
18
+
19
+ }