Skip to content

Commit 027641c

Browse files
committed
change staging deployment to run on port 80, since SSL is provided by kubernetes
1 parent f0425a9 commit 027641c

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

deployment/Dockerfile.staging

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@ FROM docker-registry.ebrains.eu/neuromorphic/nginx:stable-alpine
1717
COPY deployment/nginx-app-staging.conf /etc/nginx/conf.d/default.conf
1818
COPY --from=build /app/dist /usr/share/nginx/html
1919
EXPOSE 80
20-
EXPOSE 443
2120
CMD ["nginx", "-g", "daemon off;"]

deployment/nginx-app-staging.conf

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,11 @@
22

33

44
server {
5-
listen 443 ssl;
6-
7-
# ssl on;
8-
ssl_certificate /etc/letsencrypt/live/job-manager-staging.hbpneuromorphic.eu/fullchain.pem;
9-
ssl_certificate_key /etc/letsencrypt/live/job-manager-staging.hbpneuromorphic.eu/privkey.pem;
5+
listen 80;
106

117
root /usr/share/nginx/html;
128
index index.html;
139

14-
server_name job-manager-staging.hbpneuromorphic.eu;
15-
1610
location / {
1711
try_files $uri $uri/ /index.html;
1812
}

0 commit comments

Comments
 (0)