Switch to nginx server (#8)

* test nginx image

* web optimize jpg

* update Readme

* adds docker swarm stack file [CI SKIP]
This commit is contained in:
2022-01-13 09:35:23 +01:00
committed by GitHub
parent d2645777c1
commit 02a796e966
7 changed files with 124 additions and 25 deletions

17
nginx.conf Normal file
View File

@ -0,0 +1,17 @@
events {
worker_connections 1024;
}
http {
include mime.types;
server {
listen 80;
root /usr/share/nignx/html;
index index.html;
error_page 404 /404.html;
location / {
try_files $uri $uri/ =404;
}
}
}