Guest User

Untitled

a guest
Jan 18th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. What currently works:
  2. http://api.xxxxxx.com - switches to https and returns "Welcome to nginx!" page.
  3. https://api.xxxxxx.com - returns "Welcome to nginx!" page
  4. http://api.xxxxxx.com:3000/xxx/xxxxxxxxx/xx/xxx/xxx.xxx - returns the file byte array.
  5.  
  6. What doesn't:
  7. https://api.xxxxxx.com:3000/xxx/xxxxxxxxx/xx/xxx/xxx.xxx - Error. "This site can’t provide a secure connection"
  8.  
  9. What I want to work:
  10. https://api.xxxxxx.com/xxx/xxxxxxxxx/xx/xxx/xxx.xxx
  11.  
  12. var https = require('https');
  13. httpServer.listen(443);
  14. httpServer.on('error', onError);
  15. httpServer.on('listening', onListening);
Add Comment
Please, Sign In to add comment