Commit d866c4cf authored by nimrod's avatar nimrod
Browse files

zpush.shore.co.il.

parent 85b48a23
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
map $host $zpush { default z-push; }

server {
    listen      80;
    listen      [::]:80;
    server_name zpush.shore.co.il;
    include     snippets/robots-disallow-all.conf;
    include     snippets/ads-txt.conf;
    include     snippets/security-txt.conf;
    include     snippets/www-acme-challenge.conf;
    include     snippets/redirect-https.conf;
}

server {
    listen      443 ssl http2;
    listen      [::]:443 ssl http2;
    server_name zpush.shore.co.il;
    include     snippets/robots-disallow-all.conf;
    include     snippets/ads-txt.conf;
    include     snippets/security-txt.conf;
    include     snippets/ssl.conf;

    location / {
        proxy_pass              http://$zpush;
        proxy_http_version      1.1;
        include                 snippets/proxy-headers.conf;
    }
}
+3 −2
Original line number Diff line number Diff line
@@ -9,12 +9,13 @@ services:
    networks:
      default:
        aliases:
          - nextcloud.shore.co.il
          - *hostname
          - code.shore.co.il
          - git.shore.co.il
          - lam.shore.co.il
          - mta-sts.shore.co.il
          - code.shore.co.il
          - vouch.shore.co.il
          - zpush.shore.co.il
    ports:
      - '80:80'
      - '443:443'