<installation-directory>\conf\server.xml
文件。Context
元素中修改 path
屬性,將會影響到你服務器使用的上下文。若是 Confluence 正在運行在 http://www.foobar.com/confluence
路徑中,那麼 path
的屬性應該配置以下:
<context path=
"/confluence"
docBase=
"../confluence"
debug=
"0"
reloadable'
"false"
useHttpOnly=
"true"
>
|
在這個示例中,咱們使用 /confluence
爲上下文路徑。注意,你不能使用 /resources
爲你的上下文路徑,由於這個是 Confluence 使用的一個上下文資源路徑,若是你設置這個路徑的話,將會致使後續的問題。html
proxyName="foobar.com" proxyPort="443" scheme="https"
。這個將會可以保證你的代理服務器可以想 Confluence 服務器傳遞正確的數據。有關更多的 Atlassian applications 代理的配置,請參考,代理服務器配置知識庫中的內容。Connector
元素中,這個元素是在 {CONFLUENCE_INSTALLATION}\conf\server.xml
中定義的。https://www.cwiki.us/display/CONF6ZH/Configuring+the+Server+Base+URLjava