Navigation:  Update activities >

Web Server Configuration

Previous  Top  Next

After executing the script, the Web Server configurations should be verified.


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 file:

# vi /usr/local/se/apps/tomcat/bin/


2.Add the following line to the end of the file:

ulimit -n 200000


3.Save and close the configuration file:



4.Open the NGinx configuration file:

# vi /usr/local/se/apps/nginx/include.server


5.In the NGinx configuration file, locate the "listen 443 ssl" line and add the http2 parameter according to the following line:

listen 443 ssl http2;


6.Add or adjust the following configurations 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;



7.Check whether the lines below exist; otherwise, replace line "proxy_set_header Host $http_host;" with the following lines:

proxy_set_header Host $host;

proxy_set_header Nginx-Server 1;


8.Save and close the file: