webAssembly相關介紹與nginx相關配置
阿新 • • 發佈:2018-11-30
webAssembly知識點
是一種新的位元組碼格式,主流瀏覽器都已經支援,和JS需要解釋執行不同的是
webAssembly位元組碼和底層機器碼一樣可快速的裝載執行,不是一門程式語言,而是一份位元組碼標準,需要用高階語言編譯出位元組碼放到webassembly虛擬機器中去執行。具體如下
https://www.ibm.com/developerworks/cn/web/wa-lo-webassembly-status-and-reality/index.html
nginx相關配置
nginx配置檔案描述
server {
listen 8100;
server_name localhost;
#charset koi8-r;
#access_log /var/log/nginx/log/host.access.log main;
location / {
root /root/ckq/dist;
index index.html;
autoindex on;
try_files $uri $uri/ /index.html;
}
}
包含在http中