Welcome! Log In Create A New Profile

Advanced

situation with friendly urls

All files from this thread

File Name File Size   Posted by Date  
home.png 509.7 KB open | download Rick Gutierrez 04/10/2023 Read message
productos.png 145.8 KB open | download Rick Gutierrez 04/10/2023 Read message
Rick Gutierrez
March 30, 2023 07:16AM
Hi list, I have a situation that I want to share, we develop a small
application in php that has friendly urls, it has a section in English
and the other in Spanish, but when we put it in the backend server the
project does not load correctly.

I want to share a bit about the design of our infrastructure:

users =========> Proxy reverse ===========backend server

I've tried different configurations on the backend server and the
reverse proxy, but still can't get it to load.

For example, in the backend I put this type of application to load:

location /

{

try_files $uri $uri/ /index.php?$args;
# try_files $uri /index.php;
root /var/tmp/sites/site.com/htdocs;
index index.php index.html index.htm;

}



proxy reverse :

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://backend2;


}

I don't see any errors in the log,

any advice?

--
rickygm

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

situation with friendly urls

Rick Gutierrez March 30, 2023 07:16AM

Re: situation with friendly urls

Dan Swaney March 30, 2023 07:34PM

Re: situation with friendly urls

Rick Gutierrez March 30, 2023 10:52PM

Re: situation with friendly urls

Dan Swaney March 30, 2023 07:40PM

Re: situation with friendly urls

Rick Gutierrez March 30, 2023 11:14PM

Re: situation with friendly urls

Rick Gutierrez April 01, 2023 04:50PM

Re: situation with friendly urls

Rick Gutierrez April 08, 2023 11:30PM

Re: situation with friendly urls

Francis Daly April 09, 2023 07:28AM

Re: situation with friendly urls

Rick Gutierrez April 09, 2023 04:10PM

Re: situation with friendly urls

Francis Daly April 10, 2023 04:28AM

Re: situation with friendly urls Attachments

Rick Gutierrez April 10, 2023 11:08AM

Re: situation with friendly urls

Francis Daly April 10, 2023 07:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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