File size: 486 Bytes
7f58bc7
1b1b37e
 
7f58bc7
 
 
 
 
 
 
 
 
 
4a62ef4
 
7f58bc7
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
server {
    listen       8080;
    listen  [::]:8080;
    server_name  localhost;

    #access_log  /var/log/nginx/host.access.log  main;

    location / {
        root   /usr/share/nginx/html;
        index  index.html index.htm;

        add_header 'Cross-Origin-Embedder-Policy' 'require-corp';
        add_header 'Cross-Origin-Opener-Policy' 'same-origin';	 
        add_header 'Cross-Origin-Resource-Policy' 'cross-origin';

    }
    #error_page  404              /404.html;

  }