{"id":1908,"date":"2023-03-31T21:37:44","date_gmt":"2023-03-31T13:37:44","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1908"},"modified":"2023-04-22T08:55:24","modified_gmt":"2023-04-22T00:55:24","slug":"confluence-cannot-be-saved-or-edited-solution","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/31\/confluence-cannot-be-saved-or-edited-solution\/","title":{"rendered":"Confluence\u4e0d\u80fd\u4fdd\u5b58\u4e0d\u80fd\u7f16\u8f91\u95ee\u9898\u89e3\u51b3"},"content":{"rendered":"<h2>Nginx\u914d\u7f6e\u53cd\u5411\u4ee3\u7406<\/h2>\n<p>\u53c2\u8003\uff1a<a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/confluence.atlassian.com\/confkb\/how-to-use-nginx-to-proxy-requests-for-confluence-313459790.html\">https:\/\/confluence.atlassian.com\/confkb\/how-to-use-nginx-to-proxy-requests-for-confluence-313459790.html<\/a><\/p>\n<p><!-- more --><\/p>\n<pre><code>server {\n    listen       80;\n    server_name  cf.appblog.cn;\n\n    location \/ {\n        proxy_set_header Host $host;\n        proxy_set_header X-Real-IP $remote_addr;\n        proxy_set_header X-Forwarded-Proto https;\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n\n        set $backend &quot;http:\/\/127.0.0.1:8090&quot;;\n        proxy_pass $backend;\n        proxy_redirect http:\/\/127.0.0.1:8090 http:\/\/$host\/;\n        proxy_set_header Authorization &quot;&quot;;\n    }\n    location \/synchrony-proxy {\n        proxy_set_header X-Forwarded-Host $host;\n        proxy_set_header X-Forwarded-Server $host;\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n        proxy_pass http:\/\/localhost:8091\/synchrony;\n        proxy_http_version 1.1;\n        proxy_set_header Upgrade $http_upgrade;\n        proxy_set_header Connection &quot;Upgrade&quot;;\n    }\n    location \/synchrony {\n        set $backend &quot;http:\/\/127.0.0.1:8091&quot;;\n        proxy_pass $backend;\n        proxy_redirect http:\/\/127.0.0.1:8091 http:\/\/$host\/;\n        proxy_set_header X-Forwarded-Host $host;\n        proxy_set_header X-Forwarded-Server $host;\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n        proxy_set_header Authorization &quot;&quot;;\n        proxy_http_version 1.1;\n        proxy_set_header Upgrade $http_upgrade;\n        proxy_set_header Connection &quot;upgrade&quot;;\n    }\n}<\/code><\/pre>\n<h2>\u91cd\u542fConfluence\u524d\u8bb0\u5f97\u5e72\u6389synchrony\u8fdb\u7a0b<\/h2>\n<p>Confluence\u542f\u52a8\u6709\u4e24\u4e2a\u8fdb\u7a0b\uff0c\u4e3b\u8fdb\u7a0b<code>confluence<\/code>\u53ca\u534f\u540c\u8fdb\u7a0b<code>synchrony<\/code>\uff0c\u91cd\u542f\u9700\u8981\u540c\u65f6\u5e72\u6389<code>confluence<\/code>\u53ca<code>synchrony<\/code>\u8fdb\u7a0b<\/p>\n<pre><code>ps -ef | grep confluence\n\nroot      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\n\nroot      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<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Nginx\u914d\u7f6e\u53cd\u5411\u4ee3\u7406 \u53c2\u8003\uff1ahttps:\/\/confluence.atlassian.com\/confkb\/ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[486],"tags":[485],"class_list":["post-1908","post","type-post","status-publish","format-standard","hentry","category-pm","tag-confluence"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1908"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1908\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}