Configuring CUE
To configure CUE:
-
If necessary, switch user to root.
$
sudo su -
Open
/etc/escenic/cue-web/config.yml
for editing. For example#
nano /etc/escenic/cue-web/config.ymlThis is a new file, so it will be empty.
-
Enter the following:
endpoints: escenic: "http://escenic-host:81/webservice/index.xml" newsgate: "http://newsgate-host/newsgate-cf/"
where escenic-host is the IP address or host name of the Content Engine CUE is to provide access to and newsgate-host is the IP address or host name of the CCI Newsgate system CUE is to provide access to. If no CCI Newsgate system is present, then you should set
newsgate
to an empty string (or remove the line completely):endpoints: escenic: "http://escenic-host:81/webservice/index.xml" newsgate: ""
-
Save the file.
-
Enter:
#
dpkg-reconfigure cue-webThis reconfigures CUE with the Content Engine web service URL you specified in step 3.
-
Open
/etc/nginx/sites-available/default
for editing, and replace the entire contents of the file with the following:server { listen 81 default; include /etc/nginx/default-site/*.conf; }
-
Create a new folder to contain your site definitions:
#
mkdir /etc/nginx/default-site/ -
Add two files to the new
/etc/nginx/default-site/
folder, calledcue-web.conf
andwebservice.conf
:#
touch /etc/nginx/default-site/cue-web.conf#
touch /etc/nginx/default-site/webservice.conf -
Open
/etc/nginx/default-site/cue-web.conf
for editing and add the following contents:location /cue-web/ { alias /var/www/cue-web/; expires modified +310s; }
-
Open
/etc/nginx/default-site/webservice.conf
for editing and add the contents described in Web Service CORS Configuration:
You should now be able to access
CUE by
opening a browser and going to
http://
host:81/cue-web
.