Skip to content

Commit

Permalink
nginx static update; updated sub refs
Browse files Browse the repository at this point in the history
  • Loading branch information
popenc committed Apr 22, 2024
1 parent 98c68de commit 4a90279
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
4 changes: 3 additions & 1 deletion k8s/vb-django-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ spec:
containers:
- name: vb-django
image: ghcr.io/quanted/vb_django:dev
imagePullPolicy: Always
# image: vb-django
# imagePullPolicy: Never
command:
- sh
- /opt/app/start-server.sh
imagePullPolicy: Always
envFrom:
- configMapRef:
name: vb-config
Expand Down
2 changes: 2 additions & 0 deletions k8s/vb-nginx-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ spec:
containers:
- image: ghcr.io/quanted/vb_nginx:main
imagePullPolicy: Always
# - image: vb-nginx
# imagePullPolicy: Never
name: nginx
ports:
- containerPort: 80
Expand Down
2 changes: 1 addition & 1 deletion vb_angular
Submodule vb_angular updated 242 files
7 changes: 4 additions & 3 deletions vb_nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ server {
location /vb/static/ {
alias /src/collected_static/vb/;
}
location /vb/assets/ {
alias /src/collected_static/vb/assets/;
}

# location /vb/assets/ {
# alias /src/collected_static/vb/assets/;
# }

location /assets/ {
alias /src/collected_static/vb/assets/;
Expand Down

0 comments on commit 4a90279

Please sign in to comment.