Improvement of documentation on systemd section #912
Labels
docs
Related to documentation only
help wanted
Solution is well-specified enough that any community member could fix
knowledge 🤯
Learn about common {plumber} problems
The
systemd
part from the official documentation feels a little bit incomplete.I suggest adding a nginx approach using
proxy_pass
, after thesystemctl enable
andstart
step.127.0.0.1
on theExecStart
parameter on the service file.sites-enabled
folder on/etc/nginx/
or the correspondent path if you're using a custom nginx installation.server
block on your desired file (mine isdefault
), create alocation
block with the name you want.6547
port, put the code below inside the newly created block to make your endpoints available on the web.https://example.com/api/
I don't recommend using rewrite rules, because the regex parameters can lead to unpredictable behavior when using the endpoints.
The text was updated successfully, but these errors were encountered: