Change Port 80 nginx

Hello
I am installing kobotoolbox using kobo-install by activating the SSL option.

Can someone tell me how to change port 80 of nginx since it is being used by another application on the same server

Hello @diego.padron,

I guess you are referring to the issue you opened on GitHub https://github.com/kobotoolbox/kobo-install/issues/56.

You cannot change the port of the NginX proxy (Let’sEncrypt) because certbot using standard ports (80&443) to renew certificates automatically. It would be way more complicated to support other ports.

If you really need to use other ports, you will have to setup a proxy (with NginX or Apache) and generate certificates yourself. Maybe the other app which is running on port 80 on your server can be used as a proxy.

1 Like