summaryrefslogtreecommitdiffstats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-29/+29
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #17684 from mlatief/support-no-proxyRoeland Jago Douma2020-03-221-0/+16
|\ | | | | Add support for GuzzleHTTP 'no' proxy
| * Add support for GuzzleHTTP 'no' proxyMohammed Abdellatif2020-02-291-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The custom config allows to setup a proxy URI that is passed to GuzzleHTTP client as request options. Guzzle has the option to receive an array of proxies for each URI scheme as well as 'no' key value pair to provide a list of host names that should not be proxied to. Guzzle would automatically populate these options with HTTPS_PROXY and NO_PROXY environment variables. However, when providing a 'proxy' request option, default values will be overriden and it is required to explicitly provide the 'no' value if needed. More info: http://docs.guzzlephp.org/en/stable/request-options.html#proxy This commit will add support for a new config 'proxyexclude', which takes a list of host names to be excluded. It will also provide 'proxy' request option as an array instead of a string to Guzzle, and populate 'http' and 'https' URI schemes with proxy URI, and 'no' with 'proxyexclude' list. Also, if no 'proxy' is configured, it will leave out 'proxy' request option, so it won't override Guzzle default values. Sample config file includes a hint on how to explicitly sync 'proxyexclude' with NO_PROXY, and a note about default values. Signed-off-by: Mohammed Abdellatif <m.latief@gmail.com>
* | Added IPv6 exampleSander Ruitenbeek2020-03-071-0/+4
|/ | | | | | | | Signed-off-by: Sander Ruitenbeek <sander@getgoing.nl> Fix typos Signed-off-by: Sander Ruitenbeek <sander@getgoing.nl>
* Allow selecting the hashing algorithmRoeland Jago Douma2020-02-031-0/+10
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* extended documentationArthur Schiwon2020-01-221-4/+10
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* expose Argon2 options (as we did for bcrypt)Arthur Schiwon2020-01-201-0/+25
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Make auto accepting the default and provide setting to enforce the share ↵Julius Härtl2020-01-161-4/+9
| | | | | | acceptance process Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update config.sample.phpCarlos Ferreira2020-01-091-1/+1
| | | Remove reference link as domain doesn't exist anymore.
* Merge pull request #16792 from MichaIng/patch-1Roeland Jago Douma2019-12-191-12/+23
|\ | | | | Harden data and config protection .htaccess
| * Merge branch 'master' into patch-1MichaIng2019-12-041-2/+13
| |\
| * | Add "Order" to assure that no parental "Allow" can grant accessMichaIng2019-09-261-0/+2
| | | | | | | | | Signed-off-by: MichaIng <micha@dietpi.com>
| * | Apache 2.5 will be released as 2.6MichaIng2019-08-191-2/+2
| | | | | | | | | | | | | | | + Ref: https://github.com/nextcloud/server/pull/16792/files#r315206147 Signed-off-by: Micha Felle <micha@dietpi.com>
| * | Use syntax with cases according to official docsMichaIng2019-08-191-12/+12
| | | | | | | | | | | | | | | + Ref: https://github.com/nextcloud/server/pull/16792/files#r315207691 Signed-off-by: Micha Felle <micha@dietpi.com>
| * | Harden config protection .htaccessMichaIng2019-08-191-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Set "Satisfy All" whenever available, as well on Apache 2.4+. This is required to override possible "Satisfy Any" on parent dir, which otherwise would allow direct access to data, regardless of "Require" directive. + Set "Deny from all" as well whenever available, to block access regardless of which access control directive takes priority. + Assume Apache 2.2 only, if mod_authz_core and mod_access_compat are both not available, to avoid doubled directives. In this case set "Deny from all" directive only if the providing mod_authz_host module is available. "Satisfy" is a core directive on Apache 2.2. + Update Apache version strings. Regarding the used directives/modules, Apache 2.4 and 2.5 behave the same. + Add ordering spaces to better reflect the nested directives and to match style of other .htaccess files. Fixes: #6449 (for the config directory) Signed-off-by: Micha Felle <micha@dietpi.com>
* | | config.php setting to always accept internal sharesRoeland Jago Douma2019-12-161-0/+7
| |/ |/| | | | | | | | | Part of #18255 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Improves doc of mail_smtpsecurePierre Ozoux2019-11-191-2/+2
| | | | | | | | | | | | To reflect what is in the UI. Signed-off-by: pierreozoux <pierre@ozoux.net>
* | set a storage availability delay on auth issues to avoid lock outArthur Schiwon2019-08-221-0/+11
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Enterprise update channelMorris Jobke2019-07-101-1/+0
| | | | | | Allows to select the enterprise update channel for instances that have a valid subscription. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add documentation to config.php for share_folderJohn Molakvoæ2019-06-121-0/+1
| | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Allow redis cluster to use passwordMorris Jobke2019-05-221-2/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Block install without CAN_INSTALL fileRoeland Jago Douma2019-04-111-0/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 👌 IMPROVE: remove user_external example from config.sample.phpJonas Sulzer2019-03-131-12/+0
| | | | Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
* Honor remember_login_cookie_lifetimeRoeland Jago Douma2019-01-231-2/+2
| | | | | | | | | | | | If the remember_login_cookie_lifetime is set to 0 this means we do not want to use remember me at all. In that case we should also not creatae a remember me cookie and should create a proper temp token. Further this specifies that is not 0 the remember me time should always be larger than the session timeout. Because else the behavior is not really defined. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Expose Swift Mailer streaming options in config, fixes #12702Branko Kokanovic2018-11-301-0/+7
| | | | Signed-off-by: Branko Kokanovic <branko@kokanovic.org>
* Apply patch from @cwiedmann but drop -oi option for pipeCarsten Wiedmann2018-11-291-0/+13
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Make connectivity check domains configurableSylvia van Os2018-11-221-0/+20
| | | | Signed-off-by: Sylvia van Os <sylvia@hackerchick.me>
* Merge pull request #12089 from Rayn0r/masterDennis19932018-10-311-0/+10
|\ | | | | added possibility to disable autocomplete in login form
| * added sample config for turning off form autocompletion on login pageRayn0r2018-10-301-0/+10
| | | | | | | | Signed-off-by: Rayn0r <Andre.Weidemann@web.de>
* | Extending documentation in config.sample.php for `trusted_proxies`Oliver Wegner2018-10-301-3/+18
|/ | | | Signed-off-by: Oliver Wegner <void1976@gmail.com>
* Make logfile's mode configurable.Roland Tapken2018-10-021-0/+7
| | | | | | | | | | | | | | | The file logger currently resets the mode of the logfile to 0640. When the webserver is running as a different user than the cron job (but both are in the same group) the files mode has to be 0660. The current implementation breaks logging for the user that is not the owner of the logfile. This patch introduces a new config option 'logfilemode' that expects an octal value (defaults to 0640). Unless the value is lower or equal than 0 the logfiles mode will be resetted to this value. Signed-off-by: Roland Tapken <roland@bitarbeiter.net>
* Fix typo in config.sample.phpMarius Blüm2018-09-041-1/+1
| | | Signed-off-by: Marius Blüm <marius@lineone.io>
* Merge pull request #10801 from ↵Morris Jobke2018-08-241-0/+2
|\ | | | | | | | | nextcloud/documentation/10526/add-sample-config-for-heic Add sample config for HEIC image previews
| * Add sample config for HEIC image previewsMorris Jobke2018-08-221-0/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Show link to simple sign up pageMorris Jobke2018-08-231-0/+7
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix comment style in config sampleMorris Jobke2018-08-201-5/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Drop support for xcacheDaniel Kesselberg2018-08-121-1/+0
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Update documentation for #10198Morris Jobke2018-07-131-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Kill php mail from settingsRoeland Jago Douma2018-07-041-8/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Added Systemd.log documentation to config.sample.phpJohannes Ernst2018-06-291-7/+15
| | | | | | | | Changed name of default system (not systemd) logger from ownCloud to Nextcloud, to be consistent Fixed license per https://github.com/nextcloud/server/pull/9760#discussion_r195026784 Pulled upstream updates Signed-off-by: Johannes Ernst <jernst@indiecomputing.com>
* handle config.php valuesThomas Citharel2018-06-271-0/+23
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Add warningRoeland Jago Douma2018-06-061-0/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Configurable list for opt out from same site cookie protectionjaltek2018-06-061-0/+10
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #9280 from nextcloud/bugfix/noid/swift-v3-scopeRoeland Jago Douma2018-04-241-1/+9
|\ | | | | Swift v3 requires setting a scope
| * Swift v3 requires setting a scopeRoeland Jago Douma2018-04-231-1/+9
| | | | | | | | | | | | | | | | | | Unscoped auth is not guaranteed to return a catalog. So require the scope to be set properly. See https://developer.openstack.org/api-ref/identity/v3/index.html#password-authentication-with-unscoped-authorization Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Remove unused config optionMorris Jobke2018-04-231-6/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Provide an option to disable HTML emailsMorris Jobke2018-04-161-7/+12
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Set the default log rotate size to 100 MBMorris Jobke2018-04-111-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use customclient_* values by default and do not use them in custom themes ↵Julius Härtl2018-03-261-2/+4
| | | | | | anymore Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix bucket and container usageRoeland Jago Douma2018-03-141-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>