Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- What currently works:
- http://api.xxxxxx.com - switches to https and returns "Welcome to nginx!" page.
- https://api.xxxxxx.com - returns "Welcome to nginx!" page
- http://api.xxxxxx.com:3000/xxx/xxxxxxxxx/xx/xxx/xxx.xxx - returns the file byte array.
- What doesn't:
- https://api.xxxxxx.com:3000/xxx/xxxxxxxxx/xx/xxx/xxx.xxx - Error. "This site canβt provide a secure connection"
- What I want to work:
- https://api.xxxxxx.com/xxx/xxxxxxxxx/xx/xxx/xxx.xxx
- var https = require('https');
- httpServer.listen(443);
- httpServer.on('error', onError);
- httpServer.on('listening', onListening);
Add Comment
Please, Sign In to add comment