emscripten / nginx.conf
bmorphism's picture
Duplicate from Xenova/llama2.c
5356a5c
raw
history blame contribute delete
486 Bytes
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;
}