add WebUI in Dockerfile
This commit is contained in:
17
docker/nginx.conf
Normal file
17
docker/nginx.conf
Normal 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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user