Adding a 410 status code to pages

I know that you can add 301 and 302 status codes using the redirect file, but I need to set a status code of 410 (deleted content) on a number of pages. Our blog isn’t live yet, but I don’t see any way of doing this with Ghost?

Are you using your own installation of Ghost or Ghost Pro? It’s not possible to set anything other than redirects status codes with Ghost Pro, but if it’s your own install you could set the status codes at server level?

We’re using our own install.

In that case you should be able to set 410 statuses on any url you want with the servers nginx configuration. I found this article online on how to specifically set 410 statuses on urls and it seems fairly straightforward https://godmodeuser.com/p/5