Take out all non-SSL ports for NGINX
This commit is contained in:
parent
a702914f20
commit
d06847dd24
@ -19,7 +19,6 @@ services:
|
|||||||
ckan:
|
ckan:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:${NGINX_PORT_HOST}:${NGINX_PORT}"
|
|
||||||
- "0.0.0.0:${NGINX_SSLPORT_HOST}:${NGINX_SSLPORT}"
|
- "0.0.0.0:${NGINX_SSLPORT_HOST}:${NGINX_SSLPORT}"
|
||||||
|
|
||||||
ckan:
|
ckan:
|
||||||
|
|||||||
@ -12,8 +12,6 @@ COPY setup/default.conf ${NGINX_DIR}/conf.d/
|
|||||||
|
|
||||||
RUN mkdir -p ${NGINX_DIR}/certs
|
RUN mkdir -p ${NGINX_DIR}/certs
|
||||||
|
|
||||||
EXPOSE 81
|
|
||||||
|
|
||||||
ENTRYPOINT \
|
ENTRYPOINT \
|
||||||
openssl req \
|
openssl req \
|
||||||
-subj '/C=DE/ST=Berlin/L=Berlin/O=None/CN=localhost' \
|
-subj '/C=DE/ST=Berlin/L=Berlin/O=None/CN=localhost' \
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
server {
|
server {
|
||||||
listen 80;
|
#listen 80;
|
||||||
listen [::]:80;
|
#listen [::]:80;
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
listen [::]:443 ssl;
|
listen [::]:443 ssl;
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user