Webサーバのリバースプロキシ
実現したい挙動
http://example.com/ → http://localhost:5000
Apache
<VirtualHost *:80>
ServerName example.com
ProxyPass / http://localhost:5000/
ProxyPassReverse / http://localhost:5000/
</VirtualHost>
Nginx
server{
server_name example.com;
location / {
proxy_pass http://localhost:5000/;
}
}


