Below every post on my webpage there are share buttons displayed. Because
I’ve recently joined
mastodon, I wanted to
include a “Share on Mastodon” button.
With java spring boot it’s easy
the write a web application. Standard this web application will run on port 8080.
On GNU/Linux, ports below 1024 are priviliged ports, so a normal
user can’t run a web application on ports below 1024.
So, I’ve set up nginx as a
reverse proxy
to make those web applications available on port 80.