Loading capif_backend/backoffice_service/__main__.py +8 −1 Original line number Diff line number Diff line Loading @@ -97,5 +97,12 @@ certification_file.close() # the applicacions starts here in every interface and port 8080 # ssl -> contains backoffice_cert.crt and backoffice_key.key # if __name__ == "__main__": # app.run(debug=True, host='0.0.0.0', port=8080) # NOS LO FUMAMOS -> SSL if __name__ == "__main__": app.run(debug=True, host='0.0.0.0', port=8080) app.run(debug=True, host='0.0.0.0', port=8080, ssl_context=( "/usr/src/app/backoffice_service/certs/backoffice_cert.crt", "/usr/src/app/backoffice_service/certs/backoffice_key.key")) Loading
capif_backend/backoffice_service/__main__.py +8 −1 Original line number Diff line number Diff line Loading @@ -97,5 +97,12 @@ certification_file.close() # the applicacions starts here in every interface and port 8080 # ssl -> contains backoffice_cert.crt and backoffice_key.key # if __name__ == "__main__": # app.run(debug=True, host='0.0.0.0', port=8080) # NOS LO FUMAMOS -> SSL if __name__ == "__main__": app.run(debug=True, host='0.0.0.0', port=8080) app.run(debug=True, host='0.0.0.0', port=8080, ssl_context=( "/usr/src/app/backoffice_service/certs/backoffice_cert.crt", "/usr/src/app/backoffice_service/certs/backoffice_key.key"))