Why does not work short link in mediawiki in conjunction with nginx+apache2?

Comrades save, I don't have nerves. Doesn't want to work short link

NGINX
server {
 listen 443 ssl;
 server_name sitename.ru;

 error_page 404 = @fallback;
 include /etc/nginx/proxy_params;
 include /etc/nginx/excludes.conf;

 ssl_prefer_server_ciphers on;
 ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
 ssl_ciphers directives 'kEECDH+ECDSA+AES128 kEECDH+ECDSA+AES256 kEECDH+AES128 kEECDH+AES256 kEDH+AES128 kEDH+AES256 DES-CBC3-SHA +SHA !aNULL !eNULL !LOW !kECDH !DSS !MD5 !EXP !PSK !SRP !CAMELLIA !SEED !RC4';
 ssl_certificate /etc/nginx/newca/boundle.crt;
 ssl_certificate_key /etc/nginx/newca/vdcard.key;


 location ~* ^/(webmail/|phpmyadmin/|pgadmin/) {
 proxy_pass http://127.0.0.1:8080;
 "proxy_redirect" http://127.0.0.1:8080/ /;
}
 location / {
 proxy_pass http://127.0.0.1:8080;
 "proxy_redirect" http://127.0.0.1:8080/ /;
}


 location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf)$ {
 include /etc/nginx/expires.conf;
 root /var/www/admin/www/sitename.EN/;
 access_log /var/www/admin/logs/sitename.EN.access.log;
}
 location @fallback {
 proxy_pass http://127.0.0.1:8080;
 }


APACHE
<directory var www admin sitename.ru>
 Options +ExecCGI -Indexes
 FCGIWrapper /var/www/admin/php-bin/php .php
</directory>
<virtualhost 127.0.0.1:8080>
 ServerName sitename.ru
 SetEnvIf X-Forwarded-Proto https HTTPS=on
 DocumentRoot /var/www/admin/www/sitename.EN/
 Alias /w /var/www/admin/www/wikifarm/w

 <directory "var www admin w wikifarm">
 AllowOverride All
</directory>

 DirectoryIndex index.php index.html index.htm
 SuexecUserGroup admin admin
 CustomLog /var/www/admin/logs/sitename.EN.access.log combined
 ErrorLog /var/www/admin/logs/sitenameru.error.log
 ServerAlias www.sitename.ru
 ServerAdmin admin@sitename.ru
 AddDefaultCharset UTF-8
 AddHandler fcgid-script .php
 </virtualhost>


.htaccess in a directory "w"
RewriteEngine On
RewriteRule ^ruwiki/(.*)$ %{DOCUMENT_ROOT}/w/index.php?title=$1 [PT,L,QSA]
RewriteRule ^ruwiki/*$ /w/index.php [L,QSA]


LocalSettings.php
$wgScriptPath = "/w";
$wgArticlePath = "/ruwiki/$1";
$wgUsePathInfo = true;


Apache 2.2, nginx latest
July 8th 19 at 16:21
0 answer

Find more questions by tags NginxMediaWikiApache