mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-01-20 20:02:04 +08:00
improve documentation for nextcloud security
The default configuration does not pass security checks. A change to ssl.conf is required for secure operation. This behaviour can be very confusing to new users. Documenting this should help make it easier for new nextcloud users to have a secure experience.
This commit is contained in:
parent
9e6cea7efd
commit
9d4e3fc59c
@ -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;
|
||||
}
|
||||
|
||||
@ -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…
x
Reference in New Issue
Block a user