Skip to content

Commit

Permalink
Merge pull request #1 from owncloud-docker/well-known
Browse files Browse the repository at this point in the history
Well known
  • Loading branch information
michaelstingl authored Jan 30, 2020
2 parents 7fe4a3f + 412c04e commit 2b47d95
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
7 changes: 7 additions & 0 deletions configs/enable_well_known.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -xe

sed -i 's/# Let browsers cache CSS, JS files for half a year/<Files apple-app-site-association>\n Header set Content-type application\/json\n <\/Files>/g' /var/www/owncloud/.htaccess
sed -i 's/\/(acme-challenge|pki-validation)//g' /var/www/owncloud/.htaccess

true
7 changes: 7 additions & 0 deletions configs/enable_well_known.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: '3.4'

services:
owncloud:
volumes:
- ./configs/well-known:/var/www/owncloud/.well-known
- ./configs/enable_well_known.sh:/etc/owncloud.d/90-enable_well_known.sh
11 changes: 11 additions & 0 deletions configs/well-known/apple-app-site-association
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"applinks": {
"apps": [],
"details": [
{
"appID": "8T8932TY.com.AppName",
"paths": ["*"]
}
]
}
}
2 changes: 1 addition & 1 deletion ldap/openldap-mount-ldif.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ services:
openldap:
command: "--copy-service"
volumes:
- ${LDIF_FILE:-./ldap/openldap-ldif/base.ldif}:/container/service/slapd/assets/config/bootstrap/ldif/custom/10-base.ldif:Z
- ${LDIF_FILE:-./ldap/openldap-ldif/base.ldif}:/container/service/slapd/assets/config/bootstrap/ldif/custom/10-base.ldif

0 comments on commit 2b47d95

Please sign in to comment.