Running Atlassian Confluence/Bamboo/Bitbucket behind Nginx with SSL

It’s easy to set up a reverse proxy forwarding requests to Atlassian’s products.

If you look up posts on Atlassian’s official confluence, you’ll get something correct but confusing.

Here is my nginx configuration, for all products except Confluence:

I have haproxy in front of Nginx, if you don’t, let nginx listens to 0.0.0.0:443 and 0.0.0.0:80.

And, for built-in tomcat, make sure you have following lines in server.xml:

So bitbucket’s server.xml looks like

All other fields are all default values.

For Confluences, there’s something really stupid: ‘synchrony’.
According to official confluence, add lines below to nginx:

Other wise you’ll get function corrupted.

Running Atlassian Confluence/Bamboo/Bitbucket behind Nginx with SSL by @sskaje: https://sskaje.me/2017/01/running-atlassian-confluencebamboobitbucket-nginx-ssl/

更新了Jira/Confluence的patch脚本

好多新的插件jar包里还有jar包,只能递归patch了。
一个脚本同时适用于jira/confluence,也许其他的也能用。
https://sskaje.me/2014/04/jira-patched/

一般来说的操作流程是:
1 正常安装;
2 官网申请试用key,并激活试用;
3 更新既有的插件或组件,并及安装所需的插件,同样申请试用key;
4 停服务,Patch所有文件;
5 起服务,更新key。

但是,Confluence的激活比较麻烦,试用key一旦激活,patch了就起不来了。
人肉拿新key替换 data/confluence.cfg.xml 里的license就行。

更新了Jira/Confluence的patch脚本 by @sskaje: https://sskaje.me/2015/04/%e6%9b%b4%e6%96%b0%e4%ba%86jiraconfluence%e7%9a%84patch%e8%84%9a%e6%9c%ac/

Incoming search terms:

Jira Patched

Jira is awesome, I studied its registration and made a patch+keygen for fun. Here is what I get.
Jira Patched

You are not authorised to read all content in this post.

Please login…

Jira Patched by @sskaje: https://sskaje.me/2014/04/jira-patched/