Welcome! Log In Create A New Profile

Advanced

Re: Requests to the new URL

Alexander Titaev
July 04, 2022 02:46AM
Здравствуйте, Rasin.

Вы писали 29 июня 2022 г., 22:33:30:

> Добрый день.
> Подскажите пожалуйста, есть софт, в докере поднятый.
> Работает только с location / {
> proxy_pass http://127.0.0.1:3333;
> ...
> }
> Хочу сделать чтобы открывался location /soft {
> proxy_pass http://127.0.0.1:3333;
> ...
> }
> Но с последним выдаёт, что не может найти скрипты и прочее.
> Я так понимаю он посылает заголовок, который непонятен софту.
> Что необходимо сделать, куда копнуть, подскажите пожалуйста.

в последнем случае проксируемый url будет содержать /soft, вот его и надо реврайтить в /



--
С уважением,
Alexander mailto:tit@irk.ru

_______________________________________________
nginx-ru mailing list -- nginx-ru@nginx.org
To unsubscribe send an email to nginx-ru-leave@nginx.org
Subject Author Posted

Requests to the new URL

Rasin June 29, 2022 10:33AM

Re: Requests to the new URL

Alexander Titaev July 04, 2022 02:46AM

Re: Requests to the new URL

Maxim Dounin July 04, 2022 02:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 291
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready