Loading deploy/ansible/roles/proxy/defaults/main.yml +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading deploy/ansible/roles/proxy/tasks/main.yml +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading deploy/ansible/roles/proxy/templates/ssl.proxy.conf.j2 +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 Loading Loading
deploy/ansible/roles/proxy/defaults/main.yml +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading
deploy/ansible/roles/proxy/tasks/main.yml +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading
deploy/ansible/roles/proxy/templates/ssl.proxy.conf.j2 +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 Loading