Skip to content

Commit 64209d4

Browse files
committed
Adding Dockerfile and nginx.conf files
1 parent bdcbae2 commit 64209d4

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

angular.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
{
4545
"type": "initial",
4646
"maximumWarning": "500kb",
47-
"maximumError": "1mb"
47+
"maximumError": "2mb"
4848
},
4949
{
5050
"type": "anyComponentStyle",

nginx.conf

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
server {
2+
listen 80;
3+
server_name localhost;
4+
5+
location / {
6+
root /usr/share/nginx/html;
7+
index index.html index.htm;
8+
try_files $uri $uri/ /index.html;
9+
}
10+
11+
error_page 500 502 503 504 /50x.html;
12+
location = /50x.html {
13+
root /usr/share/nginx/html;
14+
}
15+
}

0 commit comments

Comments
 (0)