mod: try nginx upgrade cryptpad#382
This commit is contained in:
parent
e98191a12a
commit
e767bc11b8
2 changed files with 4 additions and 3 deletions
|
@ -11,6 +11,9 @@ 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
|
||||
|
|
|
@ -284,5 +284,3 @@ module.exports = {
|
|||
*/
|
||||
installMethod: 'unspecified',
|
||||
};
|
||||
|
||||
var _domain = 'http://127.0.0.1:3000/';
|
Reference in a new issue