cryptpad onion no work

This commit is contained in:
root 2022-10-04 23:54:09 -04:00
parent 0e6e444950
commit b0174f9629
1 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ server {
server {
listen 443 ssl http2;
add_header Onion-Location http://pad.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
#add_header Onion-Location http://pad.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
# CryptPad serves static assets over these two domains.
# `main_domain` is what users will enter in their address bar.
@ -136,8 +136,8 @@ server {
# this must include 'self' and your main domain (over HTTPS) in order for CryptPad to work
# if you have enabled remote embedding via the admin panel then this must be more permissive.
# note: cryptpad.fr permits web pages served via https: and vector: (element desktop app)
#set $frameAncestors "'self' https://${main_domain}";
set $frameAncestors "'self' https: vector:";
set $frameAncestors "'self' https://${main_domain}";
#set $frameAncestors "'self' https: vector:";
set $unsafe 0;
# the following assets are loaded via the sandbox domain