cryptpad onion no work
This commit is contained in:
parent
0e6e444950
commit
b0174f9629
|
@ -19,7 +19,7 @@ server {
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
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.
|
# CryptPad serves static assets over these two domains.
|
||||||
# `main_domain` is what users will enter in their address bar.
|
# `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
|
# 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.
|
# 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)
|
# note: cryptpad.fr permits web pages served via https: and vector: (element desktop app)
|
||||||
#set $frameAncestors "'self' https://${main_domain}";
|
set $frameAncestors "'self' https://${main_domain}";
|
||||||
set $frameAncestors "'self' https: vector:";
|
#set $frameAncestors "'self' https: vector:";
|
||||||
|
|
||||||
set $unsafe 0;
|
set $unsafe 0;
|
||||||
# the following assets are loaded via the sandbox domain
|
# the following assets are loaded via the sandbox domain
|
||||||
|
|
Loading…
Reference in New Issue