44 Commits

Author SHA1 Message Date
bf3c76a5f8 chore: update nginx configuration
- update static file extensions
 - add mjs to mimetype
   https://github.com/hoellen/docker-nextcloud/issues/60
 - remove legacy header
   https://github.com/hoellen/docker-nextcloud/pull/61
2024-01-02 11:10:11 +01:00
dec3a7f789 fix: set default port for PostgreSQL in db check 2023-12-27 11:24:10 +01:00
80704341e6 feat: check if db is available, not just in setup 2023-12-21 20:57:11 +01:00
Jan Wagner
6adf9e6bf8 Fix resolving osc-provider (Closes: #47)
Accordingly to dc0b8d9c39
2023-10-21 09:40:13 +02:00
18da631215 Drop call of libxml_set_external_entity_loader
ref:
  - https://github.com/jvoisin/snuffleupagus/issues/463
  - https://github.com/hoellen/docker-nextcloud/issues/42
2023-09-21 16:12:33 +02:00
2d3fd8f5c3 fix: disable snuffleupagus xxe protection
Nextcloud now prevents loading external entities by using libxml_set_external_entity_loader.

ref:
https://github.com/nextcloud/server/pull/39490
https://github.com/hoellen/docker-nextcloud/issues/42
2023-07-25 06:34:32 +02:00
0bb5b1fa73 chore: update Nextcloud to 26.0.0 2023-03-21 21:30:47 +01:00
06d89226c5 Whitelist PHP functions for Nextcloud 25 2022-10-19 13:06:53 +02:00
Wonderfall
6eb2fac3a4 Snuffleupagus 0.8.1 2022-05-20 13:33:12 +02:00
3c945d7ee7 snuffleupagus: Add exception rule for Nextcloud 2022-05-06 09:26:00 +02:00
Wonderfall
0b3b86dfff snuffleupagus: fix basic settings on new installs 2022-05-05 08:34:20 +02:00
Wonderfall
1ffd446214 ensure JIT is disabled
It was disabled by default (jit_buffer_size=0 by default), but this setting makes sure JIT is unavailable at runtime. While JIT may bring minor performance improvements, this is not worth the risk of being exposed to tons of bugs due to JIT code complexity.
2022-05-05 08:31:10 +02:00
Wonderfall
2c662e7862 snuffleupagus: fix broken "Basic settings" access 2022-05-05 08:29:46 +02:00
Wonderfall
9a30d0ff02 snuffleupagus: enable sloppy_comparison 2022-05-05 08:28:32 +02:00
Wonderfall
33dc46def2 snuffleupagus: enable global_strict 2022-05-05 08:28:21 +02:00
Wonderfall
7974e54491 support and enable snuffleupagus 2022-05-05 08:25:52 +02:00
Wonderfall
eceef9c4ac fix setup: do not wait for db if using sqlite3 2022-05-05 08:24:05 +02:00
Wonderfall
7611471834 disable legacy X-XSS-Protection
Obsolete, unsafe, and superseded by CSP
2022-05-05 07:48:42 +02:00
Jan Wagner
9851eb52ee waiting for the database container on setup 2022-01-13 19:35:53 +01:00
0b59268aa8 Change .well-known regex 2021-12-05 21:32:08 +01:00
d279197f16 Remove nc_port 2021-12-04 10:23:36 +01:00
Dominic Tubach
15ed47023e Rename nextcloud.conf to default.conf in /etc/nginx/conf.d/
The rename replaces the default server config of nginx and and allows
nginx to start. It otherwise fails with this error: [emerg] 13#13:
bind() to 0.0.0.0:80 failed (13: Permission denied)
2021-05-25 09:26:04 +02:00
Wonderfall
479cf37fbf add placeholder data dir for empty install 2021-04-30 15:39:25 +02:00
Wonderfall
c9ad140a79 move back data to /data 2021-04-28 17:32:12 +02:00
Wonderfall
5b617e80c2 update setup.sh 2021-04-25 19:33:37 +02:00
Wonderfall
65d363c0db add missing directories 2021-04-25 19:25:59 +02:00
Wonderfall
88f5b4e598 keep empty directories 2021-04-25 19:23:41 +02:00
Wonderfall
5615286de5 add new image 2021-04-25 18:23:11 +02:00
Wonderfall
939d964275 update nginx.conf 2021-03-25 19:55:19 +01:00
Wonderfall
c5e2e9cab9 update nginx.conf 2021-03-25 19:14:11 +01:00
Wonderfall
354e12681b remove HSTS (set it in your reverse proxy) 2021-03-25 17:34:55 +01:00
Wonderfall
ad30988881 Nextcloud 21 + PHP 8.0 2021-03-25 17:31:08 +01:00
Wonderfall
fd18fd8574
Merge pull request #71 from stp-bsh/patch-1
Workaround for nextcloud 20+ if UID/GID is not present in the image
2020-10-19 23:34:14 +02:00
MIchael Steputat
dffcebe34c
Workaround for nextcloud 20 if UID/GID is not present in the docker image 2020-10-17 16:51:38 +02:00
quoing
c0a0e86fd7 Use proxy forwarded headers if available for /.well-known redirects 2020-09-19 07:37:28 +02:00
Wonderfall
add34f5a38 imagick ext 2020-01-27 14:30:48 +01:00
Wonderfall
fb7f548415 update nginx.conf 2020-01-27 14:03:29 +01:00
Wonderfall
6e6b0e1dab generate instanceid non-deterministically 2020-01-27 13:48:13 +01:00
Gagan Daroach
fbdb7196a7
Resolve #39
Add `large_client_header_buffers 4 16k` to `nginx.conf`. For example, allows bigger cookies to be sent through chrome browser.
2019-04-04 20:56:31 -05:00
blinkiz
27170e4500
Fix delivery of woff2 file in nginx
https://docs.nextcloud.com/server/15/admin_manual/installation/nginx.html, v14 and v13 has configuration examples for woff2 files. the overview in nextcloud 15 har started to complain about not delivering woff2 files correct. This commit fixes this issue.
2019-01-13 14:08:01 +01:00
yeoldegrove
1bf7360aa6 added "add_header Referrer-Policy "no-referrer" always;" as per official docs 2018-10-29 15:12:32 +01:00
yeoldegrove
06d65f7fe8 added links to owncloud documentation 2018-10-29 15:11:39 +01:00
Bert Baron
54dc55376b
Correct ownership of the symlinks
The symbolic links are created as root. I propose to correct them afterwards preventing a potential costly "chown -R /nextcloud" on each restart.
2018-02-18 21:01:02 +01:00
Wonderfall
444ecd25a1 add files 2018-01-17 20:31:32 +00:00