I am using xwiki version 7.4.4, doing a war install.

I do use nginx infront of tomcat, but it is strictly for a reverse proxy and 

here is my nginx config.

server {
    listen          80;
    server_name     wiki.mydomain.com;
    rewrite         ^ https://$server_name$request_uri? permanent;

server {
    listen 443;
    server_name             wiki.mydomain.com;
    root /opt/tomcat/webapps/xwiki;

    ssl on;
    ssl_certificate         /etc/nginx/ssl/cert.crt;
    ssl_certificate_key     /etc/nginx/ssl/key.key;

    ssl_session_timeout 5m;

    ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
    ssl_ciphers "HIGH:!aNULL:!MD5 or HIGH:!aNULL:!MD5:!3DES";
    ssl_prefer_server_ciphers on;

    if ($scheme = http) {
        return 301 https://$server_name$request_uri;

    location / {
        rewrite ^ $scheme://$server_name/xwiki$request_uri? permanent;

    location ^~ /xwiki {
      # If path starts with /xwiki - then redirect to backend: XWiki 
application in Tomcat
      proxy_set_header        Upgrade $http_upgrade;
      proxy_set_header        Connection 'upgrade';
      proxy_set_header        Host $host;
      proxy_cache_bypass      $http_upgrade;
      proxy_set_header        X-Real-IP $remote_addr;
      proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header        X-Forwarded-Proto $scheme;
      proxy_pass http://localhost:8080/xwiki;


> Hi Jason,
>> On 07 Jul 2016, at 02:05, Jason Rasberry <jason.rasbe...@with.me> wrote:
>> All, 
>> I?m having an issue, which precludes me from deploying xwiki to my company.
>> I create a page with the title ?Getting Started?, the link to that page is 
>> now: xwiki/wiki/development/view/Getting%2BStarted/
>> When I follow the link, wiki states ?The requested page could not be found.?
>> I cannot edit or delete this page.
> XWiki supports spaces in page names (unless you?re using a very very old 
> version of XWiki). What version of XWiki are you using?
> In the URL you gave above I see %2B which is the encoding for ?+?. The 
> encoding for space is%20 so that looks strange.
> Could you have some web server front end (apache, nginx, etc) that modifies 
> the URL and replaces the space with a ?+??
> Thanks
> -Vincent
>> Assistance is appreciated
>> --
>> Jason

users mailing list

Reply via email to