How to update nginx configuration of tutor

Hello guys, I’ve deployed the latest Open edX release (nutmeg) with tutor on a server.
Tutor has done all the ssl stuff with the domain name I choose (www.mydomain.com). Now I need to redirect my https://mydomain.com to https://www.mydomain.com. How can I achieve this with the tutor installation.

Thanks in Advance.

hi,

In theory just run command tutor local quickstart, change the domain.com to www.domain.com and then modify your nginx and that would be it.

Tutor comes with Caddy in Nutmeg instead of Nginx.

You can configure Caddy with a plugin to add a site in your Caddyfile that redirects domain.com to www.domain.com.

Take a look at these resources for a start:

1 Like