Web Server
You can use the NAS to host websites and establish an interactive website.
Enabling the Web Server
- Log on to QTS as administrator.
- Go to Control Panel > Applications > Web Server > Web Server.
- Select Enable Web Server.
- Optional:
Configure the following
settings.
Setting
User Action
Port number
Specify a port number.
Note:The default port is 80.
Enable HTTP compression
Select this option to improve transfer speeds and bandwidth utilization. This setting is enabled by default.
Warning:Enabling this option may lead to security risks.
Enable secure connection (HTTPS)
Select this option to allow HTTPS connections.
-
Select Enable secure connection (HTTPS).
-
Select a TLS version.
The default TLS version is 1.2.
Warning:Selecting the latest TLS version may decrease compatibility for other clients in your system.
-
Enable strong cipher suites.
-
Specify a port number.
Note:The default port is 8081.
-
Select Force secure connection (HTTPS) only to require all users to connect to the NAS using only HTTPS.
Maximum number of clients
Enter a maximum client number.
Note:A client number is the number of users that are allowed to connect to the server.
Do not allow QTS embedding in IFrames
-
Select this option to prevent websites from embedding QTS using IFrames.
-
Click Allowed Websites to allow a specific website to embed QTS in IFrames.
-
The Allowed Websites window appears.
-
Click Add to add a website to the list.
The Add Host Name window appears.
-
Specify a host name.
-
Click Add.
The host name is added to the allowed websites list.
-
Select a website, and then click Delete to delete a website from the list.
-
Click Apply.
Enable X-Content-Type-Options HTTP header
Select this option to protect your device from attacks that exploit MIME sniffing vulnerabilities.
Enable Content-Security-Policy-HTTP header
Select this option to protect your device from attacks that exploit Cross Site Scripting (XSS) and data injection vulnerabilities.
-
-
Click Apply.
Tip:
To restore the default configuration settings at any time, click Restore.
QTS enables the web server.
Modifying the php.ini Maintenance File
The php.ini file is the default PHP configuration file. To optimize your website performance, you can modify and configure the default settings in the php.ini file, such as execution time, memory limit, and maximum file upload size.
- Log on to QTS as administrator.
- Go to Control Panel > Applications > Web Server > Web Server.
-
Below php.ini
Maintenance, select one of the following options.
Option
User Action
Upload
-
Click Upload.
The Upload php.ini window opens.
-
Click Browse.
The Open window opens.
-
Select a php.ini file.
-
Click Upload.
QTS uploads the file.
Edit
-
Click Edit.
The Edit php.ini window opens.
-
Edit the php.ini file.
-
Click Apply.
QTS saves the changes.
Restore
-
Click Restore.
A confirmation message appears.
-
Click OK.
QTS restores the default php.ini file.
-
Enabling and Creating a Virtual Host
Virtual hosting allows you to use your NAS to host multiple websites.
- Log on to QTS as administrator.
- Go to Control Panel > Applications > Web Server > Virtual Host.
- Select Enable Virtual Host.
-
Click Apply.
You can now create a virtual host.
-
Click Create a Virtual Host.
The Advanced Options window opens.
- Enter a host name.
- Select a root directory.
- Select a protocol.
- Enter a port number.
-
Click Apply.
The virtual host appears in the Host Name list.