summaryrefslogtreecommitdiff
path: root/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx.conf')
-rw-r--r--nginx.conf26
1 files changed, 26 insertions, 0 deletions
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;
+ }
+ }
+}