Easiest way to run back-end alone on Linux?

JuanM232 years ago

As an experiment, I want to deploy my front-end in a CDN instead of on the back-end instance.

What would be the easiest way to disable the front-end from being hosted on the same instance as the back-end?

Thanks for the help!

Anton Tananaev2 years ago

Why disable? You can keep and not use it.

JuanM232 years ago

The server will be public, so I'd rather that UI not be hosted at all.

I am comfortable changing the code or scripts, but would appreciate some guidance on the "cleanest" way to do it.

Thanks!

Anton Tananaev2 years ago

The easiest option is to just remove all the files or point Traccar to an empty folder.

JuanM232 years ago

You mean removing the files in the /opt/traccar/modern and /opt/traccar/legacy?

Ideally I would also like to stop the web server that server the front-end and only leave the back-end running. Is there an easy way to do that?

Anton Tananaev2 years ago

No. It's the same web server.