Open Git5000 opened 3 years ago
As mentioned in here https://docs.standardnotes.org/self-hosting/docker/
We recommend setting up standalone infra as root user due to Docker volume issues - thus the sudo command is not needed in the instructions
I would add it anyway for two reasons:
sudo service nginx restart
) - this would then also not be necessary but it is therenginx -t
command is then very confusing at it runs but produces tons of errors which are only related to the non root status but you think all went wrong
On site Securing HTTP traffic of your Sync server https://docs.standardnotes.org/self-hosting/https-support/ the command for testing nginx must be
sudo nginx -t
instead ofnginx -t
otherwise nginx will report strange and confusing errors for a correct setup.