add bundle:nextcloud to carlene
This commit is contained in:
parent
0001b5639b
commit
ad24c0ea5b
5 changed files with 125 additions and 1 deletions
31
data/nextcloud/nginx.conf
Normal file
31
data/nextcloud/nginx.conf
Normal file
|
@ -0,0 +1,31 @@
|
|||
location ^~ /.well-known {
|
||||
location = /.well-known/carddav { return 301 /remote.php/dav/; }
|
||||
location = /.well-known/caldav { return 301 /remote.php/dav/; }
|
||||
|
||||
return 301 /index.php$request_uri;
|
||||
}
|
||||
|
||||
|
||||
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)(?:$|/) { return 404; }
|
||||
location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) { return 404; }
|
||||
|
||||
location ~ \.(?:css|js|mjs|svg|gif|png|jpg|ico|wasm|tflite|map)$ {
|
||||
try_files $uri /index.php$request_uri;
|
||||
|
||||
location ~ \.wasm$ {
|
||||
default_type application/wasm;
|
||||
}
|
||||
}
|
||||
|
||||
location ~ \.woff2?$ {
|
||||
try_files $uri /index.php$request_uri;
|
||||
expires 7d;
|
||||
}
|
||||
|
||||
location /remote {
|
||||
return 301 /remote.php$request_uri;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php$request_uri;
|
||||
}
|
1
data/nginx/files/extras/carlene/nextcloud
Symbolic link
1
data/nginx/files/extras/carlene/nextcloud
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../../nextcloud/nginx.conf
|
Loading…
Add table
Add a link
Reference in a new issue