CUE Configuration (HTTP)
CUE Configuration involves configuring both CUE itself and the
nginx
web server used to host it (for more about
this, see the CUE documentation).
The CUE configuration file
/etc/escenic/cue-web-
version/config.yml
must contain the following setting identifying the
Content Store
web service to connect to:
endpoints: escenic: "http://editorial.mydomain.com:80/webservice/index.xml"
If you want to use Varnish with your installation, then you should
use port 81
rather than port
80
and also set proxyPort
to
81
in your Tomcat configuration (see
Content Engine / Tomcat Configuration (HTTP)).
The required nginx
configuration is as follows:
-
In
/etc/nginx/sites-available/default
:server { listen 80 default; include /etc/nginx/default-site/*.conf; }
-
In
/etc/nginx/default-site/cue-web.conf
:location /cue-web/ { alias /var/www/html/cue-web/; expires modified +310s; }
-
In
/etc/nginx/default-site/webservice.conf
:location ~ "/(escenic|studio|webservice|webservice-extensions)/(.*)" { proxy_set_header Host $http_host; proxy_pass http://127.0.0.1:8082; }
-
In
/etc/nginx/conf.d/request-entity-size-limit.conf
:client_max_body_size 0;