Created
December 12, 2016 09:39
-
-
Save sumanthkumarc/2a988bed4153b2795e64f44fa2fcafb4 to your computer and use it in GitHub Desktop.
working config for nodejs and drupal 8 integration.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
settings = { | |
scheme: 'http', | |
port: 8080, | |
host: 'localhost', | |
resource: '/socket.io', | |
serviceKey: 'any-id-same-as-in-drupal-config', | |
backend: { | |
port: 80, | |
host: 'site-host-name', | |
scheme: 'http', | |
basePath: '', | |
messagePath: '/nodejs/message' | |
}, | |
debug: true, | |
sslKeyPath: '', | |
sslCertPath: '', | |
sslCAPath: '', | |
baseAuthPath: '/nodejs/', | |
extensions: [], | |
clientsCanWriteToChannels: false, | |
clientsCanWriteToClients: false, | |
transports: ['websocket', 'polling'], | |
jsMinification: true, | |
jsEtag: true, | |
logLevel: 1 | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment