实际上我在使用Apache作为CouchDB前面的反向代理运行:
<VirtualHost *:80>
ServerName abc.com
ServerAlias www.abc.com
ProxyPass /abc http://localhost:5984/abc
ProxyPassReverse /abc http://localhost:5984/abc
ProxyPass /_session http://localhost:5984/_session
ProxyPassReverse /_session http://localhost:5984/_session
ProxyPass / http://localhost:5984/abc/_design/tt/_rewrite/
ProxyPassReverse / http://localhost:5984/abc/_design/tt/_rewrite/
</VirtualHost>
是否可以在CouchDB内部设置[vhosts]
以在没有Apache反向代理的情况下运行它?