I have Ghost installed on a VPS and I only want to use the admin panel.
What is the best way to forward my domain (admin.domain.com) to go to the admin panel?
Would it be through DNS or Nginx?
Ghost was installed using the CLI with the url set to admin.domain.com
Most probably your nginx site config should be able to do the trick, but you can also do it through DNS and also through the Ghost redirects: https://docs.ghost.org/concepts/redirects/
Thank you for the reply. Tried the Nginx method as I’d like to get better with Nginx. I added it to the ssl config under the already present location / so it looked something like this: