mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-08 05:51:06 -07:00
Merge pull request #572 from BlockListed/documenting_nextcloud_security
improve documentation for nextcloud security
This commit is contained in:
commit
193da492bf
2 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
## Version 2023/02/05
|
||||
## Version 2023/05/10
|
||||
# make sure that your nextcloud container is named nextcloud
|
||||
# make sure that your dns has a cname set for nextcloud
|
||||
# assuming this container is called "swag", edit your nextcloud container's config
|
||||
|
@ -32,6 +32,7 @@ server {
|
|||
set $upstream_proto https;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
# Uncomment X-Frame-Options directive in ssl.conf to pass security checks.
|
||||
proxy_hide_header X-Frame-Options;
|
||||
proxy_max_temp_file_size 2048m;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
## Version 2023/02/05
|
||||
## Version 2023/05/10
|
||||
# make sure that your nextcloud container is named nextcloud
|
||||
# make sure that nextcloud is set to work with the base url /nextcloud/
|
||||
# Assuming this container is called "swag", edit your nextcloud container's config
|
||||
|
@ -34,6 +34,7 @@ location ^~ /nextcloud/ {
|
|||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
rewrite /nextcloud(.*) $1 break;
|
||||
# Uncomment X-Frame-Options directive in ssl.conf to pass security checks.
|
||||
proxy_hide_header X-Frame-Options;
|
||||
proxy_max_temp_file_size 2048m;
|
||||
proxy_set_header Range $http_range;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue