Serving with Apache leads to blank page? #1430
-
Hi all, My apologies if this question is completely noob but I just can't figure it out. I have a server running for the sole purpose of serving up my Jupyterlite instance. I build the instance and copy the contents of "_output" into my "/var/www/html" directory so that the contents of my "/var/www/html" directory look like this:
When I access my server from its IP address, I see that is loading data from the status bar but then the page is blank. The index.html page is loaded because I can view source and see the big JUPYTERLITE header in the page source. Now, when I use What am I not getting here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Ok, it seems that Apache2 cannot serve web assembly apps (...yet?). After faffing about with nginx and apache2, I gave up and did a web search for something else. Found Caddy. Brilliant! Site is served up on HTTPS with about 4 lines of config and 15 minutes of tutorials and is working. However, I have another issue which I will ask about in a separate discussion. In summary, if you want to serve up a Jupyterlite instance in production, using HTTPS and everything, forget apache2 and nginx and jump right over to caddy. No certbot, no hassle. It's amazing. |
Beta Was this translation helpful? Give feedback.
Ok, it seems that Apache2 cannot serve web assembly apps (...yet?). After faffing about with nginx and apache2, I gave up and did a web search for something else. Found Caddy. Brilliant! Site is served up on HTTPS with about 4 lines of config and 15 minutes of tutorials and is working. However, I have another issue which I will ask about in a separate discussion.
In summary, if you want to serve up a Jupyterlite instance in production, using HTTPS and everything, forget apache2 and nginx and jump right over to caddy. No certbot, no hassle. It's amazing.