NGINX configuration
Example of an NGINX server configuration to host pages under your existing server
Subdirectory Proxy Configuration for (NGINX) servers
Step 1: Modify sites-available config file
Below is an example of configuring your NGINX server sites-enabled entry to route traffic for some paths within your existing domain.
The item you will need to complete:
The custom
location
directives that will be provided by us. An example of these can be found below.
server {
listen 80;
server_name customerdomain.com;
# start configuration entries..
<ADD_YOUR_LOCATION_DIRECTIVES here>
# continue normal configuration..
}
Step 2: Example location directives
This is just an example of the location directives that would be added to serve the path and some of the other assets (styles, images, etc) from our platform. The specific location directives you will install will be provided by us.
location /your-path/ {
proxy_set_header Host customerdomain.com;
proxy_pass http://255.255.255.255:80;
}
Last updated
Was this helpful?