Commit 5c0fc171 authored by William Tucker's avatar William Tucker
Browse files

Update to use port 8443 for SSL instead of 8080

parent 0761a08e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ image_pull: true
# Default Nginx config using only HTTP
nginx_config_template: proxy.conf.j2
published_port: 80
published_port_ssl: 443

# Generates a Diffie-Helmet file for the server if enabled
generate_dhparam: false
+2 −2
Original line number Diff line number Diff line
@@ -64,10 +64,10 @@
    restart_policy: unless-stopped
    exposed_ports:
      - "8080"
      - "8081"
      - "8443"
    published_ports:
      - "{{ published_port }}:8080"
      - "80:8081"
      - "{{ published_port_ssl }}:8443"
    networks:
      - name: esgf
    networks_cli_compatible: yes
+2 −3
Original line number Diff line number Diff line
# HTTP and HTTPS server blocks that proxy to the other containers running on this host
server {
  listen 8081 default_server;

    listen 8080;
    server_name _;

    return 301 https://$host$request_uri;
}

server {
    listen 8080 ssl http2 default_server;
    listen 8443 ssl http2 default_server;
    server_name  _;

    # Use the Docker embedded DNS server to allow us to resolve container names