Hi All,
After I created a public assistant, I want to know how to deploy my own assistant to my server and domain name.
I checked the GPT help and setup some nginx configutation like these:
server {
listen 80;
server_name totoro.studio;
location / {
proxy_pass https://chat.openai.com/g/g-PmZicyQpI-xiao-zhi-zheng-nian;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
But after I access my domian url, I got a 502 Bad Gateway error. Does anyone can help me to deploy my assistant to my website?