Easiest way to run back-end alone on Linux?

JuanM23 3 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 Tananaev 3 years ago

Why disable? You can keep and not use it.

JuanM23 3 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 Tananaev 3 years ago

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

JuanM23 3 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 Tananaev 3 years ago

No. It's the same web server.