Welcome! Log In Create A New Profile

Advanced

app mvc behind proxy reverse

Rick Gutierrez
August 05, 2020 07:32PM
Hi, I am having some problems to load an app made in mvc, when I
access the url and I want to edit a table to make a change, the proxy
returns me to the root of the project, and it does not stay in
app/pais

I paste the url log, where it says it can't find resource 404

https://pastebin.com/AeRRrMRi

1.1.1.1 - - [05/Aug/2020:17:21:23 -0600] "POST /agregareditar
HTTP/2.0" 404 709 "https://test.domain.com/pais" "Mozilla/5.0
(Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like
Gecko) Version/13.1.2 Safari/605.1.15"

proxy reverse config:



location / {

proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_connect_timeout 900s;
proxy_send_timeout 900s;
proxy_read_timeout 900s;
proxy_buffer_size 64k;
proxy_buffers 16 32k;
proxy_busy_buffers_size 64k;
proxy_redirect off;
proxy_request_buffering off;
proxy_buffering off;
proxy_pass http://backend29;
}


=== backend config

upstream backend29 {

server 192.168.11.95:80; ## web windows

keepalive 2;

}

server {

listen 80;

server_name test.domain.com; #YourIP or domain

pagespeed unplugged;

return 301 https://$server_name$request_uri; # redirect all to use ssl


}


any ideas?


--
rickygm

http://gnuforever.homelinux.com
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

app mvc behind proxy reverse

Rick Gutierrez August 05, 2020 07:32PM

Re: app mvc behind proxy reverse

Francis Daly August 06, 2020 08:30AM

Re: app mvc behind proxy reverse

Rick Gutierrez August 06, 2020 11:50AM

Re: app mvc behind proxy reverse

Francis Daly August 06, 2020 12:26PM

Re: app mvc behind proxy reverse

Rick Gutierrez August 07, 2020 10:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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