haxqer / confluence

The simplest docker file of Confluence. Support v8.9.6(latest) v9.0.3(latest) and v8.5.15(lts)
422 stars 221 forks source link

How to avoid Tomcat error? #14

Open RoyalGoose opened 1 year ago

RoyalGoose commented 1 year ago

I use confluence under nginx

image

haxqer commented 1 year ago

Enter container: docker exec -ti confluence-srv /bin/bash Then, change server.xml: /opt/confluence/conf/server.xml

<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
                   maxThreads="48" maxPostSize="16777216" minSpareThreads="10"
                   enableLookups="false" acceptCount="10" URIEncoding="UTF-8"
                   protocol="org.apache.coyote.http11.Http11NioProtocol"
                   scheme="https" proxyName="YOUR_DOMAIN" proxyPort="443"/>
image
muratovuz commented 1 year ago

Hello! I had same issue. I was changed this file, but unsuccessfull. Now I'm redirecting to localhost. Can you add entrypoint config for Proxy host, protocol etc.? Thank's an advance

lf032615 commented 9 months ago

请教下已经root,为什么会提示Permission denied? image

haxqer commented 9 months ago

请教下已经root,为什么会提示Permission denied? image

你这是执行,不是修改。这个文件没有 可执行 的权限,所以是 permission denied

建议使用新的部署方式: https://github.com/haxqer/confluence/tree/build-your-own https://github.com/haxqer/jira/tree/build-your-own

lf032615 commented 7 months ago

你这是执行,不是修改。这个文件没有 可执行 的权限,所以是 permission denied

建议使用新的部署方式: https://github.com/haxqer/confluence/tree/build-your-own https://github.com/haxqer/jira/tree/build-your-own

按照新的8.8.1部署之后会自动更新URL,但是端口是默认的443,按照上面的方式修改后还是提示Tomcat error,请问要如何修改访问端口