Dockerfile
FROM nginx:1.13.9-alpine
COPY default.conf /etc/nginx/conf.d/
default.conf
server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html index.htm;
location / {
try_files $uri $uri/ /index.html;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
Content type
Image
Digest
Size
7.5 MB
Last updated
over 7 years ago
docker pull dimag/angular-nginx