From 3d1e81ef18c4b2138b834459262f262e44a3397d Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Thu, 31 Oct 2024 23:50:51 +0100 Subject: Add Dockerfile for wasm compilation --- nginx.conf | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 nginx.conf (limited to 'nginx.conf') diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..83e6d1b --- /dev/null +++ b/nginx.conf @@ -0,0 +1,26 @@ +user nginx; +daemon off; +worker_processes 1; +pid /var/run/nginx.pid; +events { + worker_connections 1024; +} +http { + types { + text/html htm; + 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 / { + root /srv; + try_files $uri $uri/index.htm =404; + } + } +} -- cgit v1.2.3