Follow

Subdirectory Proxy Configuration (NGINX)

Modify sites-available config file

Below is an example of configuring the customer's server to route all traffic to customerdomain.com/campaign/ to the Proxy you created for the customer.

server {
listen 80;
server_name customerdomain.com;

# continue configuration entries..

location /campaign/ {
proxy_set_header Host customerdomain.com;
proxy_pass http://255.255.255.255:80;
}

# continue normal configuration..
}

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk