My plans for RPi:
1) install Apache and learn how to use a web server
2) Install a game server (any recomendations for a low performance game to test this with?)
3) Try some no-public IP service.
4) Setup the web server in such a way to allow control of the RPi.

Any other recomendations on what should I do with this junk?

@LukeAlmighty Use nginx instead, it's 500x better and easier to use

Compare:

<VirtualHost *:80>
ServerName example.com
ServerAdmin admin@example.com
ServerAlias www.example.com
DocumentRoot /var/www/example.com/public_html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

server {
listen 80;
server_name example.com;
root /srv/http/;
location / {
try_files $uri $uri/;
}
}

@applejack @LukeAlmighty @LukeAlmighty or use https://caddyserver.com/docs/getting-started, compare with
domain.com {
reverse_proxy 127.0.0.1:9000
}
or
domain.com {
root * /srv/http/
file_server
}

and remember caddy does ssl handling for you, with the same performance as nginx
Follow

@pleb @LukeAlmighty I dislike the cli/json/caddyfile spread, otherwise seems fine

· · Web · 1 · 0 · 0

@applejack @pleb @Zerglingman
I have reached a web server on RPi from my phone. Enough for today, but is is a progress.

Sign in to participate in the conversation
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.