Welcome! Log In Create A New Profile

Advanced

proxy_pass and path with period

March 20, 2019 03:57AM
Hi,

I use proxy_pass to forward everything to a backend:

location / {
client_max_body_size 4M;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://local_app:8080;
proxy_redirect off;
}

this works:

/admin/utilities

log : GET /admin/utilities HTTP/1.1" 200

this does not work:
/admin/utilites.my_form
log: "POST /admin/utilities.my_form HTTP/1.1" 302 0

what should I do to make it work? Thanks,

A.C.
Subject Author Posted

proxy_pass and path with period

angelochen960 March 20, 2019 03:57AM

(Solved) Re: proxy_pass and path with period

angelochen960 March 20, 2019 09:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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