set config cp

This commit is contained in:
Didier Slof 2023-02-01 12:26:29 +01:00
parent e767bc11b8
commit aad0489dbf
Signed by: didier
GPG key ID: 01E71F18AA4398E5
2 changed files with 4 additions and 7 deletions

View file

@ -11,9 +11,6 @@ server {
set_real_ip_from 10.0.0.0/8;
real_ip_header X-Forwarded-For;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
# CryptPad serves static assets over these two domains.
# `main_domain` is what users will enter in their address bar.
# Privileged computation such as key management is handled in this scope
@ -33,8 +30,8 @@ server {
#
# An example is given below which can be uncommented if you want to block
# remote sites from including content from your server
set $allowed_origins "*";
# set $allowed_origins "https://${sandbox_domain}";
# set $allowed_origins "*";
set $allowed_origins "https://${sandbox_domain}";
# CryptPad's dynamic content (websocket traffic and encrypted blobs)
# can be served over separate domains. Using dedicated domains (or subdomains)