I use nginx, how to add https?

neilxu 9 years ago

My VPS already install Php+Nginx+Mysql, and I have a wordpress blog on it. My blog is https.
Now I install traccar, and I can access http://sample.com:8082.

I want to know how to add https on traccar address?

I try to write in nginx configure file or put the traccar's web folder in my wordpress folder ,and try to access https://sample.com/gps/ .But all doesn't work.

Maybe I have someting wrong operation?
Please tell me how to do this.

Anton Tananaev 9 years ago

You need to configure proxy. Here is some info on how to do it for Apache:

https://www.traccar.org/secure-connection/

For nginx there must be something similar.

neilxu 9 years ago

Thank you for answer me.

I already look the document, and try on my nginx configure.
But it isn't work.

Could you tell me how to do it?

Anton Tananaev 9 years ago

I don't know how to do it for nginx. You can try to search forum and github. There might have been some discussions about it before.