Fix configuration issue between NGINX and InjectTool
Closed this issue · 0 comments
bunop commented
Describe the bug
After installing InjectTool on production environment with SSL, we have issues in using websocket, affecting the real time status update: within a https request I can't do a request using ws, I have to use wss protocol
To Reproduce
Go to a submission detail page (for example, this) then call a task like validation and inspect the javascript console log
Expected behavior
Urls need to work as expected with SSL and without SSL. No console errors need to be displayed
Additional context
here are the steps required:
- Fix javascript in
submission_detail.html
template in order to determine the correct protocol relying on user request - Fix ansible NGINX recipe in order to serve such request
- Consider if docker nginx configuration could be simplified according new needs