Unverified Commit 0761a08e authored by watucker's avatar watucker Committed by GitHub
Browse files

Merge pull request #209 from logan-gm/master

Add HTTPS Redirects for HTTP connections in Ansible deployment
parents c313c166 a4fc2207
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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
+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;