Hi
I managed to install Richie along with the tutor on the aws instance and it’s now available at http://domain.com:8070. open edX lms and cms are available respectively at https://domain.com and https://studio.domain.com. Now I want to route a subdomain http://catalogue.domain.com to the (Richie’s) port- 8070.
I tried to add the following lines in nginx openedx.conf file but it didn’t work.
listen 8070;
server_name catalogue.domain.com;
location / {
proxy_pass http://localhost:8070;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
I think it’s because tutor overwrites it.
The instructions given by @regis are not clear to me. I searched the whole internet but couldn’t find more information about it.
Do I want to configure nginx as instructed in #1 even when Richie is already available at domain:8070 ? What should be the content of docker-compose.override.yml ? Could anyone help me to go forward with steps #2 and #3 ?
Is this the right thing to do if we want to host other apps, for eg, a discourse platform at another port and route sub-domain community.domain.com to it ?
Thank you in advance !