Skip to content

refactor(nginx-config): listen on new port #270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions kustomize/apps/jupyter-web-app/base/configs/nginx-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ data:
~*^en en;
}
server {
listen 8080;
listen 5000;
server_name localhost;
root /etc/nginx/html/;

Expand All @@ -49,7 +49,7 @@ data:
# ...

location ~ ^/api/.*$ {
proxy_pass http://0.0.0.0:5000;
proxy_pass http://0.0.0.0:5001;
}

}
Expand Down
4 changes: 2 additions & 2 deletions kustomize/apps/jupyter-web-app/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
containers:
- name: jupyter-web-app
imagePullPolicy: IfNotPresent
image: k8scc01covidacr.azurecr.io/jupyter-apis:66347d8c937ec5296d5a833b9433ba35d1a0415f
image: k8scc01covidacr.azurecr.io/jupyter-apis:437dd2596b033f895258e298f9c80741c19e98b8
env:
- name: UI
value: default
Expand Down Expand Up @@ -60,7 +60,7 @@ spec:
initContainers:
- name: copy-jwa-static-files
# Change for the image I just built
image: k8scc01covidacr.azurecr.io/jupyter-apis:66347d8c937ec5296d5a833b9433ba35d1a0415f
image: k8scc01covidacr.azurecr.io/jupyter-apis:437dd2596b033f895258e298f9c80741c19e98b8
# image: k3d-s3proxy-registry:5050/s3proxy-dev:latest
command: [sh, -c]
args: ["cp -r /static/* /etc/nginx/html/"]
Expand Down