Running Discourse at / while serving a custom app at /tickets on the same domain

I think those are probably your best instructions, though. You’ll follow those instructions, but sort-of backward. You’ll have your external reverse proxy serve / to Discourse and /tickets to your app.