add WebUI in Dockerfile

This commit is contained in:
2023-01-07 14:43:43 +03:00
parent f60a37cd85
commit 108a6e67c2
4 changed files with 141 additions and 98 deletions

17
docker/nginx.conf Normal file
View File

@@ -0,0 +1,17 @@
server {
listen 80 default_server;
listen [::]:80 default_server;
index index.html;
server_name _;
rewrite ^/$ /dm/ permanent;
location / {
root /var/www/web;
index index.html;
try_files $uri $uri/ /index.html;
}
}