This commit is contained in:
Didier Slof 2023-02-01 12:09:49 +01:00
parent ade7510276
commit dbfc832404
Signed by: didier
GPG key ID: 01E71F18AA4398E5

View file

@ -46,7 +46,7 @@ module.exports = {
* cryptpad/docs/example.nginx.conf (see the $main_domain variable) * cryptpad/docs/example.nginx.conf (see the $main_domain variable)
* *
*/ */
httpUnsafeOrigin: 'https://pad.ixvd.net', httpUnsafeOrigin: 'http://localhost:3000',
/* httpSafeOrigin is the URL that is used for the 'sandbox' described above. /* httpSafeOrigin is the URL that is used for the 'sandbox' described above.
* If you're testing or developing with CryptPad on your local machine then * If you're testing or developing with CryptPad on your local machine then
@ -67,7 +67,7 @@ module.exports = {
* *
* CUSTOMIZE AND UNCOMMENT THIS FOR PRODUCTION INSTALLATIONS. * CUSTOMIZE AND UNCOMMENT THIS FOR PRODUCTION INSTALLATIONS.
*/ */
// httpSafeOrigin: "https://some-other-domain.xyz", httpSafeOrigin: "https://pad.ixvd.net",
/* httpAddress specifies the address on which the nodejs server /* httpAddress specifies the address on which the nodejs server
* should be accessible. By default it will listen on 127.0.0.1 * should be accessible. By default it will listen on 127.0.0.1
@ -75,7 +75,7 @@ module.exports = {
* all addresses, including IPv6, set this to '::'. * all addresses, including IPv6, set this to '::'.
* *
*/ */
//httpAddress: '::', httpAddress: '::',
/* httpPort specifies on which port the nodejs server should listen. /* httpPort specifies on which port the nodejs server should listen.
* By default it will serve content over port 3000, which is suitable * By default it will serve content over port 3000, which is suitable
@ -83,7 +83,7 @@ module.exports = {
* which will proxy websocket traffic to your node server. * which will proxy websocket traffic to your node server.
* *
*/ */
//httpPort: 3000, httpPort: 3000,
/* httpSafePort allows you to specify an alternative port from which /* httpSafePort allows you to specify an alternative port from which
* the node process should serve sandboxed assets. The default value is * the node process should serve sandboxed assets. The default value is