JATOS with Nginx
Hi there! I installed Nginx in my ECS server and tried to link my SSL certificate and change the configuration in the nginx.conf file. But while the http website works well, I could not open the https website. I believe there must be something wrong with my .conf file (which I attached below). Would you please help me check where it went wrong? Thank you so much!
Best regards,
Chi
Comments
Hi Chi!
You seem to have fixed it already. I just tried your address and it worked, even with HTTPS. Good work! :D
Best,
Kristian
Hi Kristian,
Thanks!
Indeed it worked. But the version I am currently using is the one that used virtual host (not directly a Nginx proxy) that still have the problem of websocket handshake. I could use it to run the experiment but the data cannot be uploaded to JATOS. So there is stil some problem that needs to be solved.
I tried to uninstall the virtual host and used Nginx directly. It did not work. Hence the question I had in this thread is about this failed attempt I have. Would you please help me with that? Thank you so much!
Best regards,
Chi
I can't see any problem in your nginx.conf, although I'm far from being an Nginx expert. But does Nginx give you any error in it's log? The logs are usually in /var/log/nginx.
Best
K.
Hi Kristian,
Sorry I could not find the error log right now because I have recovered the server. Since the experiment is running right now, I will try again with Nginx in the up coming weeks to see whether there will be an error log. Thank you so much for the help!
Best regards,
Chi