mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Merge pull request #160 from YunoHost-Apps/enh_update_15.0.4
Upgrade to upstream version 15.0.4
This commit is contained in:
commit
42d7be7211
4 changed files with 21 additions and 21 deletions
|
@ -5,7 +5,7 @@ Nextcloud for YunoHost
|
||||||
own data. A personal cloud which run on your own server. With Nextcloud
|
own data. A personal cloud which run on your own server. With Nextcloud
|
||||||
you can synchronize your files over your devices.
|
you can synchronize your files over your devices.
|
||||||
|
|
||||||
**Shipped version:** 15.0.2
|
**Shipped version:** 15.0.4
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=nextcloud)
|
[](https://install-app.yunohost.org/?app=nextcloud)
|
||||||

|

|
||||||
|
|
|
@ -13,23 +13,23 @@ location ^~ __PATH__ {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Add headers to serve security related headers
|
# Add headers to serve security related headers
|
||||||
add_header Strict-Transport-Security "max-age=15768000;";
|
more_set_headers "Strict-Transport-Security: max-age=15768000";
|
||||||
add_header X-Content-Type-Options nosniff;
|
more_set_headers "X-Content-Type-Options: nosniff";
|
||||||
add_header X-XSS-Protection "1; mode=block";
|
more_set_headers "X-XSS-Protection: 1; mode=block";
|
||||||
add_header X-Robots-Tag none;
|
more_set_headers "X-Robots-Tag: none";
|
||||||
add_header X-Download-Options noopen;
|
more_set_headers "X-Download-Options: noopen";
|
||||||
add_header X-Permitted-Cross-Domain-Policies none;
|
more_set_headers "X-Permitted-Cross-Domain-Policies: none";
|
||||||
add_header Referrer-Policy no-referrer;
|
more_set_headers "Referrer-Policy: no-referrer";
|
||||||
|
|
||||||
# Set max upload size
|
# Set max upload size
|
||||||
client_max_body_size 10G;
|
client_max_body_size 10G;
|
||||||
fastcgi_buffers 64 4K;
|
fastcgi_buffers 64 4K;
|
||||||
|
|
||||||
# Extend timeouts
|
# Extend timeouts
|
||||||
client_body_timeout 60m;
|
client_body_timeout 60m;
|
||||||
proxy_read_timeout 60m;
|
proxy_read_timeout 60m;
|
||||||
fastcgi_read_timeout 60m;
|
fastcgi_read_timeout 60m;
|
||||||
|
|
||||||
# Disable gzip to avoid the removal of the ETag header
|
# Disable gzip to avoid the removal of the ETag header
|
||||||
gzip off;
|
gzip off;
|
||||||
|
|
||||||
|
@ -78,15 +78,15 @@ location ^~ __PATH__ {
|
||||||
|
|
||||||
# Adding the cache control header for js and css files
|
# Adding the cache control header for js and css files
|
||||||
location ~* \.(?:css|js)$ {
|
location ~* \.(?:css|js)$ {
|
||||||
add_header Cache-Control "public, max-age=7200";
|
more_set_headers "Cache-Control: public, max-age=7200";
|
||||||
# Add headers to serve security related headers
|
# Add headers to serve security related headers
|
||||||
add_header Strict-Transport-Security "max-age=15768000;";
|
more_set_headers "Strict-Transport-Security: max-age=15768000";
|
||||||
add_header X-Content-Type-Options nosniff;
|
more_set_headers "X-Content-Type-Options: nosniff";
|
||||||
add_header X-XSS-Protection "1; mode=block";
|
more_set_headers "X-XSS-Protection: 1; mode=block";
|
||||||
add_header X-Robots-Tag none;
|
more_set_headers "X-Robots-Tag: none";
|
||||||
add_header X-Download-Options noopen;
|
more_set_headers "X-Download-Options: noopen";
|
||||||
add_header X-Permitted-Cross-Domain-Policies none;
|
more_set_headers "X-Permitted-Cross-Domain-Policies: none";
|
||||||
add_header Referrer-Policy no-referrer;
|
more_set_headers "Referrer-Policy: no-referrer";
|
||||||
|
|
||||||
# Optional: Don't log access to assets
|
# Optional: Don't log access to assets
|
||||||
access_log off;
|
access_log off;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Access & share your files, calendars, contacts, mail & more from any device, on your terms",
|
"en": "Access & share your files, calendars, contacts, mail & more from any device, on your terms",
|
||||||
"fr": "Consultez et partagez vos fichiers, agendas, carnets d'adresses, emails et bien plus depuis les appareils de votre choix, sous vos conditions"
|
"fr": "Consultez et partagez vos fichiers, agendas, carnets d'adresses, emails et bien plus depuis les appareils de votre choix, sous vos conditions"
|
||||||
},
|
},
|
||||||
"version": "15.0.2~ynh1",
|
"version": "15.0.4~ynh1",
|
||||||
"url": "https://nextcloud.com",
|
"url": "https://nextcloud.com",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Last available nextcloud version
|
# Last available nextcloud version
|
||||||
next_version="15.0.2"
|
next_version="15.0.4"
|
||||||
|
|
||||||
# Nextcloud tarball checksum sha256
|
# Nextcloud tarball checksum sha256
|
||||||
nextcloud_source_sha256="c1f4cc33e39994ddbe6777370b62c30b7ae52136a0530c0b9922770803ca0fea"
|
nextcloud_source_sha256="f87db047c174f563e391a22c959d9ace767ca14ef0f97fc394f3061fc63d8f77"
|
||||||
|
|
||||||
# This function will only be executed upon applying the last upgrade referenced above
|
# This function will only be executed upon applying the last upgrade referenced above
|
||||||
last_upgrade_operations () {
|
last_upgrade_operations () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue