Skip to content
Snippets Groups Projects
Select Git revision
  • bbaf1a32133070df31fee2e4b2c62f1e6795e051
  • master default
  • host01
  • ns4
  • kodi
5 results

www.shore.co.il.conf

Blame
    • nimrod's avatar
      bbaf1a32
      Cleanup. · bbaf1a32
      nimrod authored
      - No more proxying in www.shore.co.il. I think about redoing it all with
        a subdomain per service. Also no more secrets, intead authenticate
        against the LDAP server or something.
      - CI templates.
      - Simpler self-signed SSL certificate generation.
      - Set the hostname in CI.
      - Use the www-redirect snippet in shore.co.il.
      bbaf1a32
      History
      Cleanup.
      nimrod authored
      - No more proxying in www.shore.co.il. I think about redoing it all with
        a subdomain per service. Also no more secrets, intead authenticate
        against the LDAP server or something.
      - CI templates.
      - Simpler self-signed SSL certificate generation.
      - Set the hostname in CI.
      - Use the www-redirect snippet in shore.co.il.
    shore.co.il.conf 939 B
    map $host $z_push { default z-push; }
    
    server {
        listen      80;
        listen      [::]:80;
        server_name shore.co.il;
        include     snippets/robots-allow-all.conf;
        include     snippets/ads-txt.conf;
        include     snippets/security-txt.conf;
        location = /        { return 301 https://$host/blog/; }
        location /repo/     {
            root            /var/www/www.shore.co.il/;
            autoindex       on;
        }
        include     snippets/redirect-https.conf;
    }
    
    server {
        listen      443 ssl;
        listen      [::]:443 ssl;
        server_name shore.co.il;
        include     snippets/robots-allow-all.conf;
        include     snippets/ads-txt.conf;
        include     snippets/security-txt.conf;
        include     snippets/ssl.conf;
        include     snippets/nextcloud-well-known.conf;
        include     snippets/z-push.conf;
    
        location = /        { return 301 https://www.shore.co.il/blog/; }
        include     snippets/redirect-www.conf;
    }