Panel | |
---|---|
|
NGINX Server for Linux
Note |
---|
The following steps require root privilege, be sure that you have the correct access before to continuecontinuing. |
- Install a an NGINX Server (Linux packages).
...
- Create a configuration file
mftudmg.conf
under this directory (normally/etc/nginx/conf.d
):. This will create 2 location locations: ‘/' for the UDMG Admin UI and'/service'
for the internal authentication mechanism.
Panel |
---|
|
- Remove any
/etc/nginx/conf.d/default.conf
file, to disable the NGINX default landing page on port 80. - Validate that the configuration is correct with the following command:
...
- Create the Root directory:
Panel |
---|
|
- Start Enable and start the NGINX service using the Init system.
Panel |
---|
|
- Check that the HTTP server was started and is running, for example with the
curl
command:
Panel |
---|
|
This error (403) is exceptedexpected, since we don't have any asset deployed.
...
Create a directory under the configuration folder called "enabled" and add an include directive in the main configuration file inside the http section. For example:
Panel |
---|
|
- Create a configuration file
mftudmg.conf
under this directory (normallyC:\UDMG\nginx\conf\enabled
):
Panel |
---|
|
- Remove any
/etc/nginx/conf.d/default.conf
file, to disable the NGINX default landing page on port 80. - Validate that the configuration is correct with the following command:
...
- Create the Root directory under the NGINX main directory called mft udmg:
Panel |
---|
|
- Start NGINX
Panel |
---|
|
- Check that the HTTP server was started and is running, for example with the
curl
command:
Panel |
---|
|
This error (403) is exceptedexpected, since we don't have any asset deployed.
...
- For configuring HTTPS and HTTP redirection, please refer to the web server documentation (Configuring HTTPS servers).
- The paths in any NGINX configuration file must be specified in UNIX-style, using forward slashes '/'.
- For running NGINX as a service please refer to the service section in UDMG for Windows Installation