Skip to content

Commit 9d4e3fc

Browse files
committed
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.
1 parent 9e6cea7 commit 9d4e3fc

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

nextcloud.subdomain.conf.sample

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ server {
3232
set $upstream_proto https;
3333
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
3434

35+
# Uncomment X-Frame-Options directive in ssl.conf to pass security checks.
3536
proxy_hide_header X-Frame-Options;
3637
proxy_max_temp_file_size 2048m;
3738
}

nextcloud.subfolder.conf.sample

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ location ^~ /nextcloud/ {
3434
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
3535

3636
rewrite /nextcloud(.*) $1 break;
37+
# Uncomment X-Frame-Options directive in ssl.conf to pass security checks.
3738
proxy_hide_header X-Frame-Options;
3839
proxy_max_temp_file_size 2048m;
3940
proxy_set_header Range $http_range;

0 commit comments

Comments
 (0)