Skip to content
Snippets Groups Projects
Select Git revision
  • f2f316772ce2cd76f7f5b58747cfa2426151ab5f
  • master default
  • ci-debug
3 results

Dockerfile

Blame
    • nimrod's avatar
      f2f31677
      Workbench: Remove Chalice. · f2f31677
      nimrod authored
      It's conflicting with Black (require conflicting versions of Click) and
      I don't remember the last time I used Chalice (if ever) but I do use
      Black often.
      f2f31677
      History
      Workbench: Remove Chalice.
      nimrod authored
      It's conflicting with Black (require conflicting versions of Click) and
      I don't remember the last time I used Chalice (if ever) but I do use
      Black often.
    nextcloud.shore.co.il.conf 1.09 KiB
    map $host $nextcloud { default nextcloud; }
    
    server {
        listen      80;
        listen      [::]:80;
        server_name nextcloud.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 nextcloud.shore.co.il;
        include     snippets/robots-disallow-all.conf;
        include     snippets/ads-txt.conf;
        include     snippets/security-txt.conf;
        include     snippets/ssl.conf;
        include     snippets/nextcloud-well-known.conf;
    
        # Allow to include iframes in code.shore.co.il.
        add_header  Content-Security-Policy "frame-ancestors https://code.shore.co.il";
    
        location / {
            proxy_pass              http://$nextcloud$request_uri;
            proxy_http_version      1.1;
            include                 snippets/proxy-headers.conf;
            proxy_hide_header       X-Frame-Options;
            client_max_body_size    512m;
        }
    }