/redirect

Primary LanguagePython

TODO:

# modify /etc/hosts and add to redirect openai sites to localhost
127.0.0.1 openai.com
127.0.0.1 chat.openai.com

# install mkcert and run ./create_ssl_setup.sh to create a root CA and a client certificate
./create_ssl_setup.sh

# start the server
systemd-socket-active -l 80 python redirect.py
systemd-socket-active -l 443 python redirect.py --ssl