File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- ## Version 2023/02/05
1+ ## Version 2023/05/10
22# make sure that your nextcloud container is named nextcloud
33# make sure that your dns has a cname set for nextcloud
44# assuming this container is called "swag", edit your nextcloud container's config
@@ -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 }
Original file line number Diff line number Diff line change 1- ## Version 2023/02/05
1+ ## Version 2023/05/10
22# make sure that your nextcloud container is named nextcloud
33# make sure that nextcloud is set to work with the base url /nextcloud/
44# Assuming this container is called "swag", edit your nextcloud container's config
@@ -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;
You can’t perform that action at this time.
0 commit comments