Closed megaerki closed 6 years ago
Changed server.py and added:
1) import os under other imports
2) ASSETS_DIR = os.path.dirname(os.path.abspath(file)) after SECRET
3) context = ('/path/to/cert.pem', 'path/to/privkey.pem') before app.run(...
4) ssl_context=context after debug=False inside app.run(..)
Now Github hooks starting with HTTPS://... work as well. SSL verification must be turned off however.
Changed server.py and added:
1) import os under other imports
2) ASSETS_DIR = os.path.dirname(os.path.abspath(file)) after SECRET
3) context = ('/path/to/cert.pem', 'path/to/privkey.pem') before app.run(...
4) ssl_context=context after debug=False inside app.run(..)
Now Github hooks starting with HTTPS://... work as well. SSL verification must be turned off however.