J0WI
5c23d91182
Update postgres volume for 18+ ( #2556 )
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
3 months ago
J0WI
803d941dcb
yamllint ( #2541 )
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
3 months ago
Kaloyan Nikolov
569d1a501f
Sync Nginx config with upstream docs ( #2476 )
...
* Sync Nginx config with upstream docs
Signed-off-by: Kaloyan Nikolow <tzerber@gmail.com>
* Sync Nginx config with upstream docs
Signed-off-by: Kaloyan Nikolow <tzerber@gmail.com>
* Sync Nginx config with upstream docs
Signed-off-by: Kaloyan Nikolow <tzerber@gmail.com>
* Sync Nginx config with upstream docs
Signed-off-by: Kaloyan Nikolow <tzerber@gmail.com>
* Update nginx conf with upstream changes
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Remove application/wasm from nginx configuration
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Removed auto-added bracket from config file
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
---------
Signed-off-by: Kaloyan Nikolow <tzerber@gmail.com>
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
3 months ago
mwester117
1907ded05a
Removed mimetype application/wasm from nginx.conf files because they are included in mime.types of nginx:alpine-slim image ( #2458 )
...
Signed-off-by: Marco Wester <42421851+mwester117@users.noreply.github.com>
Co-authored-by: Marco Wester <git@mwester.de>
10 months ago
SebastianRzk
b326158abc
add dynamic re-resolve feature of nginx ( #2413 )
...
Signed-off-by: SebastianRzk <github@sebastianruziczka.de>
Co-authored-by: SebastianRzk <github@sebastianruziczka.de>
11 months ago
Kaloyan Nikolov
614be28550
Updated examples ( #2405 )
...
* Updated examples
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Lock examples to PostgreSQL 16
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Pin postgresql to 16 in Readme example
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Update .examples/docker-compose/insecure/mariadb/apache/compose.yaml
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Update .examples/docker-compose/insecure/postgres/apache/compose.yaml
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Update .examples/docker-compose/insecure/mariadb/fpm/compose.yaml
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Moved some comments on new lines.
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Moved another comment to new line
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Unified across files / updated README file.
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Use canonical links to external services.
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
---------
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
1 year ago
J0WI
69c1e4a000
Update cache policy to match documentation ( fix #2313 ) ( #2369 )
1 year ago
Josh
e3dc1f3d62
fix(examples): volumes must match (insecure-postgres-fpm)
...
Signed-off-by: Josh <josh.t.richards@gmail.com>
2 years ago
Josh
9395077d11
fix(examples): volumes must match (insecure-postgres-apache)
...
Signed-off-by: Josh <josh.t.richards@gmail.com>
2 years ago
Kaloyan Nikolov
8c777a4144
Update examples nginx configuration ( #2307 )
...
* Update config based on the official docs
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Update all example nginx configs according to the documentation
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
---------
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
2 years ago
Kaloyan Nikolov
38994cbb87
Documentation and examples update for use with docker compose v2 ( #2201 )
...
* Update examples section according to the latest docker compose requirements.
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Minor readme updates to match the changes for the compose v2 syntax.
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Fix wrong environment variable
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Add missing headers to fpm config
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Fix cache control
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Add mjs file extension in a proper way.
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Typos fixed, minor clarification changes
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Removed logging from compose files.
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Restored MariaDB to 10.6 as per docs suggestions
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Remove extra nginx volume
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Removed GH specific markdown from Readme, change mariadb to recommended version
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* typo
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Update .examples/docker-compose/with-nginx-proxy/postgres/apache/compose.yaml
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Update to correct MariaDB command
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Updated compose files for mariadb to match current docs
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Update outdated docker-compose command in Readme
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Added back --log-bin to MariaDB command. See PR 1881
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Remove wrongly added logging to Readme.MD
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Use proper name for --log-bin param
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
---------
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
2 years ago
Kaloyan Nikolov
b80875632e
Update the examples section according to the latest nginx configuration required. ( #2123 )
...
Signed-off-by: Kaloyan K Nikolov <tzerber@gmail.com>
3 years ago
am97
9dd8dcd5ee
Remove legacy header X-Download-Options in nginx.conf examples ( #2077 )
...
The header was relevant for Internet Explorer only and was removed from the nextcloud/server code: ea0e45d81e
Signed-off-by: Andrés Maldonado <maldonado@codelutin.com>
3 years ago
Stavros Kois
8df9b2617e
Updates X-Robot-Tag in nginx.conf examples ( #1960 )
...
* Update X-Robot-Tag in nginx.conf example
Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
* update nginx.conf examples
* Update .examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
* apply to all files
---------
Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
3 years ago
J0WI
3eb80c52b1
Support SELinux in docker-compose.yml examples ( fix #324 ) ( #1957 )
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
3 years ago
Jan Kiesewetter
522559eefd
Prevent nginx HTTP Server Detection
...
Signed-off-by: Jan Kiesewetter <jan@t3easy.de>
4 years ago
aney1
f4dbcf523a
add rewrite rule from official docs to nginx examples ( #1635 )
...
Without this rewrite rule you can't access some pages (like LDAP config).
These lines are present in the official docs: https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
Signed-off-by: aney1 <aney1@users.noreply.github.com>
5 years ago
fariszr
c769eb86e1
don't expose insecure ports to the public ( #1523 )
...
* don't expose insecure ports to public
* don't expose insecure ports to public
Signed-off-by: Fariszr <35614734+fariszr@users.noreply.github.com>
5 years ago
J0WI
a92ea90731
Update nginx.conf ( #1517 )
...
https://github.com/nextcloud/documentation/blob/master/admin_manual/installation/nginx-root.conf.sample
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
5 years ago
J0WI
def2eeae13
typo
5 years ago
J0WI
953ebac32b
Reduce examples ( #1484 )
5 years ago
J0WI
6b6c68cabf
Serve mp4 and webm files directly in nginx ( #1076 )
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
6 years ago
J0WI
fbdb70e856
Remove workaround to create the postgres db ( fix #886 ) ( #961 )
...
This reverts commit 4df6f79568 .
The upstream bug has been fixed in https://github.com/nextcloud/server/pull/15187
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
7 years ago
alexschroth
269a081138
examples: docker-compose: Update nginx configs ( #912 )
...
* examples: docker-compose: insecure: postgres: Update nginx.conf
This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.
References:
- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html
Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>
* examples: docker-compose: insecure: mariadb-cron-redis: Update nginx.conf
This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.
References:
- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html
Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>
* examples: docker-compose: insecure: mariadb: Update nginx.conf
This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.
References:
- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html
Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>
* examples: docker-compose: with-nginx-proxy: mariadb: Update nginx.conf
This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.
References:
- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html
Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>
* examples: docker-compose: with-nginx-proxy: mariadb-cron-redis: Update nginx.conf
This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.
References:
- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html
Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>
* examples: docker-compose: with-nginx-proxy: postgres: Update nginx.conf
This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.
References:
- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html
Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>
* examples: docker-compose: with-nginx-proxy-self-signed-ssl: mariadb: Update nginx.conf
This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.
References:
- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html
Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>
7 years ago
Tilo Spannagel
4df6f79568
Allow nextcloud to create the postgres db ( #784 )
...
Signed-off-by: Tilo Spannagel <development@tilosp.de>
7 years ago
ykgmfq
53bb46d1dc
Let nginx decide on number of worker processes ( #732 )
...
From https://www.nginx.com/blog/tuning-nginx/ :
In most cases, running one worker process per CPU core works well,
and we recommend setting this directive to auto to achieve that.
There are times when you may want to increase this number,
such as when the worker processes have to do a lot of disk I/O.
7 years ago
Guy Elsmore-Paddock
0b9f09e3e1
Issue #674 - Fix Remaining `.woff2` Issues in NGinx Config Examples
...
This ensures that the remaining NGinx config examples are updated to handle WOFF 2 font files.
Closes #674 .
Signed-off-by: Guy Elsmore-Paddock <guy@inveniem.com>
7 years ago
J0WI
aa5c0c1929
Use Alpine Linux in examples and use default user
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
8 years ago
Louis Matthijssen
a31db79ae9
Add Referrer-Policy header examples for nginx
8 years ago
Tilo Spannagel
71b4d891f8
Use $request_uri instead of $uri in nginx config
...
Signed-off-by: Tilo Spannagel <development@tilosp.de>
8 years ago
Tilo Spannagel
654ddeae23
Remove trailing whitespaces
8 years ago
Tilo Spannagel
122e66ca7c
Set client_max_body_size to 10G
9 years ago
Tilo Spannagel
0548adf1c1
Use autoconfig.php provided by the image
9 years ago
Tilo Spannagel
01dd1a93f1
Add depends_on
9 years ago
Tilo Spannagel
b120af8e7f
Add Dockerfile for nginx
9 years ago
Tilo Spannagel
f1515a32dc
Add insecure docker-compose examples for fpm
9 years ago
Tilo Spannagel
0ba11e9ca3
Remove unnecessary links
9 years ago
Tilo Spannagel
83b027fbae
Add insecure docker-compose examples for apache
9 years ago