Confluence不能保存不能编辑问题解决
Nginx配置反向代理
server {
listen 80;
server_name cf.appblog.cn;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
set $backend "http://127.0.0.1:8090";
proxy_pass $backend;
proxy_redirect http://127.0.0.1:8090 http://$host/;
proxy_set_header Authorization "";
}
location /synchrony-proxy {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://localhost:8091/synchrony;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
location /synchrony {
set $backend "http://127.0.0.1:8091";
proxy_pass $backend;
proxy_redirect http://127.0.0.1:8091 http://$host/;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Authorization "";
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
重启Confluence前记得干掉synchrony进程
Confluence启动有两个进程,主进程confluence
及协同进程synchrony
,重启需要同时干掉confluence
及synchrony
进程
ps -ef | grep confluence
root 1765 1 90 10:37 pts/0 00:05:11 /usr/local/java/jdk1.8.0_231/jre/bin/java -Djava.util.logging.config.file=/data/www/confluence/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -XX:ReservedCodeCacheSize=256m -XX:+UseCodeCacheFlushing -Djdk.tls.server.protocols=TLSv1.1,TLSv1.2 -Djdk.tls.client.protocols=TLSv1.1,TLSv1.2 -Dconfluence.context.path= -Djava.locale.providers=JRE,SPI,CLDR -Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 -Dsynchrony.enable.xhr.fallback=true -Xms1024m -Xmx1024m -XX:+UseG1GC -Datlassian.plugins.enable.wait=300 -Djava.awt.headless=true -XX:G1ReservePercent=20 -Xloggc:/data/www/confluence/logs/gc-2020-05-12_10-37-43.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=2M -Xlog:gc+age=debug:file=/data/www/confluence/logs/gc-2020-05-12_10-37-43.log::filecount=5,filesize=2M -XX:-PrintGCDetails -XX:+PrintGCDateStamps -XX:-PrintTenuringDistribution -XX:+IgnoreUnrecognizedVMOptions -Dignore.endorsed.dirs= -classpath /data/www/confluence/bin/bootstrap.jar:/data/www/confluence/bin/tomcat-juli.jar -Dcatalina.base=/data/www/confluence -Dcatalina.home=/data/www/confluence -Djava.io.tmpdir=/data/www/confluence/temp org.apache.catalina.startup.Bootstrap start
root 2075 1765 8 10:39 pts/0 00:00:22 /usr/local/java/jdk1.8.0_231/jre/bin/java -classpath /data/www/confluence/temp/3.1.0-master-022ca438.jar:/data/www/confluence/confluence/WEB-INF/lib/mysql-connector-java-8.0.18.jar -Xss2048k -Xmx1g synchrony.core sql
版权声明:
作者:Joe.Ye
链接:https://www.appblog.cn/index.php/2023/03/31/confluence-cannot-be-saved-or-edited-solution/
来源:APP全栈技术分享
文章版权归作者所有,未经允许请勿转载。
THE END
0
二维码
打赏
海报
Confluence不能保存不能编辑问题解决
Nginx配置反向代理
参考:https://confluence.atlassian.com/confkb/how-to-use-nginx-to-proxy-requests-for-confluence-313459790.html
server {
liste……
文章目录
关闭
共有 0 条评论