Package the webapp in a docker nginx lightweight container

This commit is contained in:
Dat PHAM HOANG
2022-02-21 16:42:51 +07:00
committed by Dat H. Pham
parent c0f5c47346
commit 6ee34c4d97
6 changed files with 60 additions and 25 deletions
+17
View File
@@ -0,0 +1,17 @@
server {
listen 80;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}