I've upgraded my development server to 2.18. Right now I'm trying to use the first option, serving WeBWorK directly using Hypnotoad.
I have existing SSL certificates that were issued for the Apache configuration in 2.17. The files consist of a ServerCertificate.crt, ChainBundle2.crt, and the key file.
I think I've set up SSL according to the instructions, but once I restart the webwork2 service and visit the website, I get a "site unexpectedly closed the connection" error. Do I need different certificates to serve using hypnotoad with SSL? If so, I'll proxy through Apache for now.
In my webwork2.mojolicious.yml I have the following, and I've got https in site.conf.
# hypnotoad server configuration
# See https://docs.mojolicious.org/Mojo/Server/Daemon
# Any of the attributes listed there can be set in this section.
# Make sure to convert the Perl notation there to YAML.
# Below is an example of how to use ssl certificates when serving directly via hypnotoad.
# Below is an example of how to use ssl certificates when using the docker build.