-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor updates * Using latest base image * Don't add (non-existent) bf-nginx-webdav module to nu config * Adding custom configuration support via /etc/nginx/sites/custom.conf Documentation updates * Adding README to explain custom.conf support
- Loading branch information
Showing
6 changed files
with
32 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
6.0.5 | ||
6.0.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,39 @@ | ||
server { | ||
# listen to port 80 - this is designed to be a local-only image, behind a proxy server | ||
# https://nginx.org/en/docs/http/ngx_http_core_module.html#listen | ||
listen 80; | ||
listen [::]:80; | ||
|
||
# files root | ||
# https://nginx.org/en/docs/http/ngx_http_core_module.html#root | ||
root <% bf-env NGINX_WWW %>; | ||
|
||
# allow index page for accessing files via a browser | ||
# https://nginx.org/en/docs/http/ngx_http_autoindex_module.html#autoindex | ||
autoindex on; | ||
|
||
# define temporary file hierarchy | ||
# https://nginx.org/en/docs/http/ngx_http_core_module.html#client_body_temp_path | ||
client_body_temp_path /tmp 1 2; | ||
|
||
# enable WebDAV extensions | ||
# https://nginx.org/en/docs/http/ngx_http_dav_module.html#dav_access | ||
# https://nginx.org/en/docs/http/ngx_http_dav_module.html#dav_methods | ||
dav_access all:<% bf-env NGINX_WEBDAV_ACCESS %>; | ||
dav_methods <% bf-env NGINX_WEBDAV_METHODS %>; | ||
dav_ext_methods <% bf-env NGINX_WEBDAV_EXT_METHODS %>; | ||
|
||
client_body_temp_path /tmp; | ||
|
||
# create intermediate directories when PUTting a new file | ||
# https://nginx.org/en/docs/http/ngx_http_dav_module.html#create_full_put_path | ||
create_full_put_path on; | ||
|
||
proxy_max_temp_file_size 0; | ||
# remove upload limits | ||
# https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffering | ||
# https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_max_temp_file_size | ||
proxy_buffering off; | ||
|
||
proxy_max_temp_file_size 0; | ||
include helpers/uploads.conf; | ||
} | ||
|
||
# include custom configuration file | ||
include sites/custom[.].conf; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters