Skip to main content
Version: 2.2.1

Web server configuration

After the updater.sh script is run, the web server settings must be checked.

danger

The procedure in this section will only be necessary if the version of the environment that will be updated is 2.0.7 or earlier.

  1. Open the setenv.sh file:
# vi /usr/local/se/apps/tomcat/bin/setenv.sh
  1. Add the following line to the end of the file:
ulimit n 200000
  1. Save and close the configuration file:
:wq!
  1. Open the NGinx configuration file:
# vi /usr/local/se/apps/nginx/include.server
  1. In the NGinx configuration file, identify the "listen 443 ssl" line and add the http2 parameter, as per the line below:
listen 443 ssl http2;
  1. Add or adjust the following settings in the include.server file:
access_log off;
root /usr/local/se/web/wwwroot/;
location ~_ ^/[^se][^/]._\.(php|inc)$ {
deny all;
}
if ($request_method = CONNECT) {
return 400;
}
if ($request_method = TRACE) {
return 400;
}
if ($request_method = OPTIONS) {
return 400;
}
  1. Check whether the following lines exist; if they do not, replace the proxy_set_header Host $http_host; line with the following lines:
proxy_set_header Host $host;
proxy_set_header Nginx-Server 1;
  1. Save and close the file:
:wq!