Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Commit 2a1a700

Browse files
committed
Added more PWA dev support, responsive fixes
1 parent 078907d commit 2a1a700

23 files changed

+1194
-148
lines changed

docker/local-nginx-compose.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
web:
2+
image: nginx
3+
volumes:
4+
- ../dist:/usr/share/nginx/html
5+
- ../docker/local-nginx.conf:/etc/nginx/nginx.conf
6+
ports:
7+
- "127.0.0.1:4200:80"

docker/local-nginx.conf

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
user nginx;
2+
worker_processes 1;
3+
4+
error_log /var/log/nginx/error.log warn;
5+
pid /var/run/nginx.pid;
6+
7+
events {
8+
worker_connections 1024;
9+
}
10+
11+
http {
12+
include /etc/nginx/mime.types;
13+
default_type application/octet-stream;
14+
sendfile on;
15+
keepalive_timeout 65;
16+
17+
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
18+
'$status $body_bytes_sent "$http_referer" '
19+
'"$http_user_agent" "$http_x_forwarded_for"';
20+
21+
access_log /var/log/nginx/access.log main;
22+
23+
24+
gzip on;
25+
26+
server {
27+
listen 80;
28+
root /usr/share/nginx/html/html;
29+
30+
location / {
31+
try_files $uri $uri/index.html;
32+
}
33+
}
34+
}

nodemon.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"verbose": true,
3+
"ignore": [
4+
"dist/*"
5+
]
6+
}

0 commit comments

Comments
 (0)