Welcome! Log In Create A New Profile


ReverseProxy rewrite 172...16:port/#1234 <> host.domain.com (extern)

Posted by gbabel 
ReverseProxy rewrite 172...16:port/#1234 <> host.domain.com (extern)
November 07, 2018 03:01AM
I try to rewrite an internal url with the structure over the ReverseProxy on host.domain.com.
Unfortunately, the proxy cuts off everything from the comment hash "#".
A rewrite to %23 ("#") does not work on the php system side.

Does anyone have any idea how "#" can be masked?

my config:

server {
listen 80;

server_name host.domain.de;
return 301 https://$server_name$request_uri;

server {
listen 443 ssl;

server_name host.domain.de;

root /var/www/host-certbot-webroot;

# The public and private parts of the certificate are linked here
ssl_certificate /etc/letsencrypt/live/host.domain.de-0001/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/host.domain.de-0001/privkey.pem; # managed by Certbot

location / {
proxy_set_header Accept-Encoding "";

# WebFront
proxy_pass "";
proxy_redirect default;

sub_filter "" "host.domain.de";
sub_filter_once off;
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 86
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready