Wiki source code of HTTP Reverse Proxy for XWiki

Last modified by Vincent Massol on 2026/07/27 09:14

Show last authors
1 After [[installing XWiki>>documentation.xs.admin.installation.WebHome]], it's recommended to access it through an ##HTTP## proxy, especially when you want to use the standard ##HTTP##/##HTTPS## ports instead of the default ##8080##. Also, for a [[variety of reasons>>https://en.wikipedia.org/wiki/Reverse_proxy]], it is not ideal to allow users to connect directly to tomcat. So it's generally recommended to put an HTTP reverse proxy such as Apache HTTP Server or Nginx when [[configuring Tomcat>>doc:documentation.xs.admin.installation.methods.install-xwiki-war.configure-servlet-container.configure-tomcat.WebHome]]. If so, then you would need to [[Configure Tomcat to Find Proxy Headers>>doc:documentation.xs.admin.installation.methods.install-xwiki-war.configure-servlet-container.configure-tomcat.find-proxy-headers.WebHome]].
2
3 Using an HTTP proxy in front of XWiki provides several advantages such as standard ports (users can access XWiki via {{code language="none"}}http://{{/code}} or {{code language="none"}}https://{{/code}} without specifying port 8080), security, performance, access control.
4
5 Examples of proxy servers used with XWiki:
6
7 * [[Configure Apache HTTP Server as a Proxy on a Linux OS>>doc:documentation.xs.admin.installation.http-reverse-proxy.apache-key-configurations.configure-apache-server-linux.WebHome]],
8 * [[Configure Apache HTTP Server as a Proxy on a Windows OS>>doc:documentation.xs.admin.installation.http-reverse-proxy.apache-key-configurations.configure-apache-server-windows.WebHome]],
9 * [[Set up NginX Proxy Server>>doc:documentation.xs.admin.installation.http-reverse-proxy.nginx-key-configurations.set-nginx.WebHome]].

Get Connected