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; | |
} |