nginx config

This commit is contained in:
2021-01-21 16:47:03 +01:00
parent ceb228e472
commit aed0759eab
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,4 @@
FROM nginx:stable
COPY default.conf /etc/nginx/conf.d/
COPY dist/hv-ui/* /usr/share/nginx/html/

10
default.conf Normal file
View File

@ -0,0 +1,10 @@
server {
listen 80;
server_name hv-ui;
location / {
location /usr/share/nginx/html;
try_files $uri $uri/ /index.html;
}
}