File tree 4 files changed +4
-25
lines changed
4 files changed +4
-25
lines changed Original file line number Diff line number Diff line change @@ -54,9 +54,7 @@ DEVELOPMENT_SSH_PASSWORD=password
54
54
# NOTE: You only need to fill in these values for running the standalone production environment
55
55
# ==========================
56
56
57
- STANDALONE_DOMAIN =
58
-
59
- STANDALONE_WEB_PORT = 443
57
+ STANDALONE_WEB_PORT = 80
60
58
61
59
# The MySQL database running in the container is exposed to the host on this port,
62
60
# allowing access with database tools such as DBeaver
Original file line number Diff line number Diff line change @@ -28,10 +28,8 @@ services:
28
28
build :
29
29
context : .
30
30
dockerfile : docker/production/nginx/Dockerfile
31
- args :
32
- STANDALONE_DOMAIN : ${STANDALONE_DOMAIN:?Missing STANDALONE_DOMAIN}
33
31
ports :
34
- - " ${STANDALONE_WEB_PORT:?Missing STANDALONE_WEB_PORT}:443 "
32
+ - " ${STANDALONE_WEB_PORT:?Missing STANDALONE_WEB_PORT}:80 "
35
33
36
34
migrate :
37
35
depends_on :
Original file line number Diff line number Diff line change 1
1
FROM nginx
2
2
3
- ARG STANDALONE_DOMAIN
4
-
5
- RUN apt-get update && apt-get install -y openssl
6
- RUN openssl req -x509 -newkey rsa:4096 -keyout /etc/ssl/private/zeppelin-self-signed-cert.key -out /etc/ssl/certs/zeppelin-self-signed-cert.pem -days 3650 -subj "/CN=${STANDALONE_DOMAIN}" -nodes
7
-
8
3
COPY ./docker/production/nginx/default.conf /etc/nginx/conf.d/default.conf
9
- RUN sed -ir "s/_STANDALONE_DOMAIN_/${STANDALONE_DOMAIN}/g" /etc/nginx/conf.d/default.conf
Original file line number Diff line number Diff line change 1
1
server {
2
- listen 443 ssl http2;
3
- listen [::]:443 ssl http2;
4
- server_name _STANDALONE_DOMAIN_;
2
+ listen 80 default_server;
3
+ server_name _;
5
4
6
5
# Using a variable here stops nginx from crashing if the dev container is restarted or becomes otherwise unavailable
7
6
set $backend_upstream "http://api:3001";
@@ -21,14 +20,4 @@ server {
21
20
22
21
client_max_body_size 200M;
23
22
}
24
-
25
- ssl_certificate /etc/ssl/certs/zeppelin-self-signed-cert.pem;
26
- ssl_certificate_key /etc/ssl/private/zeppelin-self-signed-cert.key;
27
-
28
- ssl_session_timeout 1d;
29
- ssl_session_cache shared:MozSSL:10m;
30
- ssl_session_tickets off;
31
-
32
- ssl_protocols TLSv1.3;
33
- ssl_prefer_server_ciphers off;
34
23
}
You can’t perform that action at this time.
0 commit comments