edX-platform - To run the CMS at port 80 along side with the LMS

By default, the CMS of the edX production stack will run at port 18010 which may be blocked by corporate's network. To make it run at port 80 and can be accessible via the url studio.your.domain, you only need to change the nginx server block of the CMS at /edx/app/nginx/sites-available/cms:

upstream cms-backend {
            server fail_timeout=0;

server {
  # CMS configuration file for nginx, templated by ansible

    listen 80 ;

  server_name ~^((stage|prod)-)?studio\..*;

Then, restart the nginx service:

$ sudo service nginx restart



  1. Hi!

    How can i change this by ansible server-vars.yml? For example I change the variable EDXAPP_CMS_NGINX_PORT: 80, I run update but nothing happend and the sites-avaibles for cms still listen in 18010.


Post a Comment