Pages

Friday, February 14, 2020

dreamcast.local III - Webserver with Nginx

In part III of this mini-series I will show you how to install Nginx on your Dreamcast server and how to use it with your Dreamcast. Start by install Nginx first:

# apt install nginx
...


Next edit your nginx.conf and remove the # from the server_names_hash_bucket_size option in the http section:

# vi /etc/nginx/nginx.conf
...
http {
...
        server_names_hash_bucket_size 64;
...
}

...

Now enable and start Nginx:

# systemctl enable nginx
# systemctl start nginx


Finally create a dedicated index.html for your Dreamcast server:

# vi /var/www/html/index.html
<html>
<head>
<title>dreamcast.local</title>
</head>
<body>
<h1>dreamcast.local</h1>
</body>
</html>


When you establish a line with your Dreamcast and navigate to http://dreamcast.local, you will be able to see the content of your index.html created before:


Afaik Dream Key 3.0 can handle HTML and JavaScript websites. I tried a sample page with a little CSS and the CSS part got completely ignored.

No comments:

Post a Comment