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