localhost:443/bitrixкак и без этого правила. Т.е. не работает почему то.
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host:443;
proxy_set_header HTTPS YES;
proxy_set_header X-Forwarded-Proto https;
set $proxyserver "http://127.0.0.1:8888";
autoconf is already the newest version (2.69-11).
automake is already the newest version (1:1.15.1-3ubuntu2).
build-essential is already the newest version (12.4ubuntu1).
gzip is already the newest version (1.6-5ubuntu1).
libgeoip-dev is already the newest version (1.6.12-1).
libgoogle-perftools-dev is already the newest version (2.5-2.2ubuntu3).
libjpeg-dev is already the newest version (8c-2ubuntu8).
libtool is already the newest version (2.4.6-2).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-0ubuntu2).
dnsutils is already the newest version (1:9.11.3+dfsg-1ubuntu1.14).
iputils-ping is already the newest version (3:20161105-1ubuntu3).
libgif-dev is already the newest version (5.1.4-2ubuntu0.1).
libperl-dev is already the newest version (5.26.1-6ubuntu0.5).
libpng-dev is already the newest version (1.6.34-1ubuntu0.18.04.2).
libtiff-dev is already the newest version (4.0.9-5ubuntu0.4).
libxslt1-dev is already the newest version (1.1.29-5ubuntu0.2).
unzip is already the newest version (6.0-21ubuntu1.1).
uuid-dev is already the newest version (2.31.1-0.4ubuntu3.7).
wget is already the newest version (1.19.4-1ubuntu2.2).
libgd-dev is already the newest version (2.3.0-2+ubuntu18.04.1+deb.sury.org+1).
libpcre3-dev is already the newest version (2:8.44-2+ubuntu18.04.1+deb.sury.org+1).
libxml2-dev is already the newest version (2.9.10+dfsg-5+ubuntu18.04.1+deb.sury.org+3).
nginx: [emerg] module "/usr/share/nginx/modules/ngx_pagespeed.so" is not binary compatible in /etc/nginx/nginx.conf:6
nginx: configuration file /etc/nginx/nginx.conf test failed
RewriteCond %{QUERY_STRING} ^oid=(.*)
RewriteRule ^(.*)$ /$1? [R=301,L]