Welcome! Log In Create A New Profile

Advanced

Nginx forward all requests to the new URL

Posted by Rasin 
Nginx forward all requests to the new URL
June 29, 2022 10:36AM
Hello all. How can i change url for site in Docker?
With location / { all work fine
But with this not work

location /newurl/ {
proxy_pass http://127.0.0.1:3333;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
Can anybody tell me about configuration nginx, please?
Thanks
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 56
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