FreeKill/wasm/nginx.conf
notify 34ce4c9859
Cppfix (#142)
修了一些需要重新编译的bug

修大厅卡死尸体
修“已经有人登入”
修服务端翻译文件
增加出牌时间设置
修Linux下复制文件bug
再次尝试wasm
2023-04-30 18:54:23 +08:00

33 lines
589 B
Nginx Configuration File

# NGINX conf file for testing wasm build
worker_processes 1;
pid nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
gzip on;
error_log error.log;
access_log access.log;
server {
listen 9580;
server_name localhost;
location / {
root .;
index index.html FreeKill.html;
add_header Cross-Origin-Opener-Policy same-origin;
add_header Cross-Origin-Embedder-Policy require-corp;
}
}
}