modify nginx conf
This commit is contained in:
parent
638c9072e7
commit
75687a3c15
@ -1,3 +1,3 @@
|
|||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
COPY ping.conf /etc/nginx/conf.d/ping.conf
|
COPY ping.conf /etc/nginx/conf.d/default.conf
|
||||||
COPY dist /var/www/html
|
COPY dist /usr/share/nginx/html
|
@ -6,7 +6,7 @@ server {
|
|||||||
#access_log /var/log/nginx/host.access.log main;
|
#access_log /var/log/nginx/host.access.log main;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /var/www/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user