mod: try nginx upgrade cryptpad#382

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

View file

@ -11,6 +11,9 @@ server {
set_real_ip_from 10.0.0.0/8; set_real_ip_from 10.0.0.0/8;
real_ip_header X-Forwarded-For; 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. # 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.
# Privileged computation such as key management is handled in this scope # Privileged computation such as key management is handled in this scope

View file

@ -284,5 +284,3 @@ module.exports = {
*/ */
installMethod: 'unspecified', installMethod: 'unspecified',
}; };
var _domain = 'http://127.0.0.1:3000/';