Loading deploy/ansible/roles/proxy/tasks/main.yml +2 −0 Original line number Diff line number Diff line Loading @@ -64,8 +64,10 @@ restart_policy: unless-stopped exposed_ports: - "8080" - "8081" published_ports: - "{{ published_port }}:8080" - "80:8081" networks: - name: esgf networks_cli_compatible: yes Loading deploy/ansible/roles/proxy/templates/ssl.proxy.conf.j2 +7 −0 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; server_name _; return 301 https://$host$request_uri; } server { listen 8080 ssl http2 default_server; Loading Loading
deploy/ansible/roles/proxy/tasks/main.yml +2 −0 Original line number Diff line number Diff line Loading @@ -64,8 +64,10 @@ restart_policy: unless-stopped exposed_ports: - "8080" - "8081" published_ports: - "{{ published_port }}:8080" - "80:8081" networks: - name: esgf networks_cli_compatible: yes Loading
deploy/ansible/roles/proxy/templates/ssl.proxy.conf.j2 +7 −0 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; server_name _; return 301 https://$host$request_uri; } server { listen 8080 ssl http2 default_server; Loading