5.4.4 Editing the settings for the JP1/DH Web server
The following subsections describe the details of the JP1/DH Web server settings.
- Organization of this subsection
(1) Editing httpsd.conf
(a) File path
installation-folder#\misc\httpsd\conf\httpsd.conf
#: In Linux, change installation-folder to /opt/jp1dh/server.
(b) Settings
Edit only the items described in this subsection. If you edit the other items, the system might fail to start properly.
Setting item |
Setting value |
|
---|---|---|
SSLCertificateFile |
Specify the path to the signed certificate file created in 5.4.3 Creating a certificate file for SSL communication. |
|
SSLCertificateKeyFile |
Specify the path to the secret key file created in 5.4.1 Creating a secret key file for SSL communication. |
|
SSLCertificateKeyPassword |
If you have created a secret key file with password protection in 5.4.1 Creating a secret key file for SSL communication, uncomment this setting item, and then specify the path to the password file created in 5.4.2 Creating a password file. |
|
ProxyPass |
Specify as follows: ProxyPass/http://FQDN-of-the-server-host/ Specify the server host name in lower-case characters. If you specify it in other characters, the JP1/DH Web server does not operate properly. |
|
ProxyPassReverse |
Specify as follows: ProxyPassReverse/http://FQDN-of-the-server-host/ Specify the server host name in lower-case characters. If you specify it in other characters, the JP1/DH Web server does not operate properly. |
|
In Windows |
ThreadsPerChild |
This is the maximum number of request handling processes for the reverse proxy server. To allow the system to always communicate at the maximum number of TCP connections, change the value to 1,024. The maximum value that you can specify is 1,024. For details about how to specify the number of TCP connections, see the JP1/Data Highway - Server System Administrator Guide. |
In Linux |
MaxClients |
Note: To comment out the setting item, insert a hash mark (#) at the beginning of the relevant line. To uncomment the setting item, delete the # at the beginning of the relevant line.
(c) Applying the settings
To apply the settings edited in 5.4.4 (1) Editing httpsd.conf to the JP1/DH Web server, execute either of the following batches:
-
In Windows
installation-folder\setup_util\deploy_websvr.bat
-
In Linux
installation-folder/setup_util/deploy_websvr.sh
(d) Recovering httpsd.conf
If the system ceases to operate normally due to reasons such as inadvertently changing the value of an item other than the above, overwrite the file described in 5.4.4 (1) (a) File path with the file shown below, and then edit the overwritten file again. Then, perform the procedures described in 5.4.4 (1) (b) Settings and the subsequent subsections again.
installation-folder#\template\httpsd.conf.template
#: In Linux, change installation-folder to /opt/jp1dh/server.