nginx config
This commit is contained in:
@ -1,3 +1,4 @@
|
|||||||
FROM nginx:stable
|
FROM nginx:stable
|
||||||
|
COPY default.conf /etc/nginx/conf.d/
|
||||||
COPY dist/hv-ui/* /usr/share/nginx/html/
|
COPY dist/hv-ui/* /usr/share/nginx/html/
|
||||||
|
|
||||||
|
10
default.conf
Normal file
10
default.conf
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name hv-ui;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
location /usr/share/nginx/html;
|
||||||
|
try_files $uri $uri/ /index.html;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Reference in New Issue
Block a user