⚠️ The following article assumes technical knowledge of webservers and related concepts and terminology.
In most organizations, the person who can perform the steps described in this article will be a web administrator (or similar).
This guide also assumes that you have reverse proxy capability available and set up on your website.
See this article for a general overview of reverse proxying your William blog.
Step 1. Add your subfolder proxy entry in nginx.conf
Open your nging.conf file and add the following entry
server {
listen 80;
...
location /blog/ {
proxy_pass https://MYCOMPANY.storychief.io/;
proxy_set_header Host MYCOMPANY.storychief.io;
proxy_set_header X-Referrer StoryChief;
}
...
}
The script is rewriting every incoming URL from https://MYWEBSITE.com/blog/* to https://MYCOMPANY.storychief.io.
It also appends a header "X-Referrer": "StoryChief"
to the request so StoryChief knows to handle it as a reversed proxy domain.
Step 2. Restart NGINX