blob: 7d641d838872120c4de2143c260661b2ae2a7337 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
user nginx;
daemon off;
worker_processes 1;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
types {
text/html htm;
image/gif gif;
application/wasm wasm;
}
default_type application/octet-stream;
error_log /var/log/nginx/error.log;
access_log /var/log/nginx/access.log;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
listen [::]:80;
location / {
add_header Cross-Origin-Opener-Policy same-origin;
add_header Cross-Origin-Embedder-Policy require-corp;
root /srv;
try_files $uri $uri/index.htm =404;
}
}
}
|