You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
1. I change the baseurl from wiki.zhenrongbao.com to wiki.surfin-cn.com
2. When I browse articles created before the domain change, the images in these articles are not downloading properly ,as flow:
Image download address contains the string "http://wiki.zhenrongbao.com" , i think that's the problem
I modified the baseurl according to the official document instructions.
Nginx is used as proxy server
The Confluence version is 5.4.4
I don't know what's wrong. Need help
Welcome to the community.
As I look at your config, this seems fine, but as @Brant Schroeder mentions, are you running a proxy server in front of you application (apache, nginx)
Look at that configuration.
yes, i running a proxy server that it's Nginx in front of you application ,
the Nginx server config as follow:
server {
listen 80;
server_name wiki.surfin-cn.com ;
location / {
proxy_pass http://127.0.0.1:8080;
}
access_log logs/access_log main;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@xiaoqi zhang welcome to the Atlassian community
If you changed the base url in the app and updated the context path I would focus on the proxy. I would suggest reviewing the kb again and double check your settings as well. https://confluence.atlassian.com/doc/configuring-the-server-base-url-148592.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank you very much !
I can't find any configuration errors, my confluence server.xml content is as follows
<Server port="8000" shutdown="SHUTDOWN" debug="0">
<Service name="Tomcat-Standalone">
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8080" minProcessors="5"
maxProcessors="75"
enableLookups="false" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000"
useURIValidationHack="false" URIEncoding="UTF-8"/>
<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="" />
</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 http://confluence.atlassian.com/display/DOC/Adding+SSL+for+Secure+Logins+and+Page+Security
-->
<!--
<Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" SSLEnabled="true"
URIEncoding="UTF-8" keystorePass="<MY_CERTIFICATE_PASSWORD>"/>
-->
</Service>
</Server>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@xiaoqi zhang I just want to make sure in the Confluence application you also updated the base URL. Can you share a screenshot of that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.