Synchrony Proxy doesn't work in Templates
Asked by Tony Montana:

Hello!

Synchrony-Proxy has broken today if create page from BluePrint template.  

Help me!

```
Server startup logs are located in /opt/atlassian/confluence/logs/catalina.out
---------------------------------------------------------------------------
Using Java: /opt/atlassian/confluence/jre//bin/java
2019-01-09 11:59:54,517 INFO [main] [atlassian.confluence.bootstrap.SynchronyProxyWatchdog] The Confluence context path is /
2019-01-09 11:59:54,518 INFO [main] [atlassian.confluence.bootstrap.SynchronyProxyWatchdog] The new XML will be stored in /opt/atlassian/confluence/conf/Standalone/localhost
2019-01-09 11:59:54,518 INFO [main] [atlassian.confluence.bootstrap.SynchronyProxyWatchdog] /opt/atlassian/confluence/conf/Standalone/localhost/#synchrony-proxy.xml already exists. No further action is required.
---------------------------------------------------------------------------
Using CATALINA_BASE: /opt/atlassian/confluence
Using CATALINA_HOME: /opt/atlassian/confluence
Using CATALINA_TMPDIR: /opt/atlassian/confluence/temp
Using JRE_HOME: /opt/atlassian/confluence/jre/
Using CLASSPATH: /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/atlassian/confluence/work/catalina.pid
```


Answers:
author: Tony Montana
body: ```
<Server port="8005" shutdown="SHUTDOWN" debug="0">
 <Service name="Tomcat-Standalone">
 <Connector port="8080"
 connectionTimeout="20000"
 redirectPort="8443"
 maxThreads="48"
 minSpareThreads="10"
 enableLookups="false"
 acceptCount="10"
 debug="0"
 URIEncoding="UTF-8"
 protocol="org.apache.coyote.http11.Http11NioProtocol" />

 <Engine name="Standalone" defaultHost="localhost" debug="0">

 <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false">

 <Context path="/" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">
 <!-- Logger is deprecated in Tomcat 5.5. Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties -->
 <Manager pathname="" />
 <Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" />
 </Context>
 </Host>

 </Engine>

 <!--
 To run Confluence via HTTPS:
 * Uncomment the Connector below
 * Execute:
 %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
 $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
 with a password value of "changeit" for both the certificate and the keystore itself.
 * Restart and visit https://localhost:8443/

 For more info, see https://confluence.atlassian.com/display/DOC/Running+Confluence+Over+SSL+or+HTTPS
 -->
 <Connector port="8443"
 maxHttpHeaderSize="8192"
 maxThreads="150"
 minSpareThreads="25"
 protocol="org.apache.coyote.http11.Http11NioProtocol"
 enableLookups="false"
 disableUploadTimeout="true"
 acceptCount="100"
 scheme="https"
 secure="true"
 clientAuth="false"
 sslProtocols="TLS"
 SSLEnabled="true"
 URIEncoding="UTF-8"
 keystorePass="passwd"
 keystoreType="PKCS12"
 keystoreFile="${catalina.base}/conf/20170123_confluence.pfx" />
 </Service>
</Server>

~
~
~
"/opt/atlassian/confluence/conf/server.xml" 57L, 2204C
```


Tags: confluence-server

server