Welcome! Log In Create A New Profile

Advanced

Re: 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
April 10, 2023 11:08AM
El lun, 10 abr 2023 a las 4:27, Francis Daly (<francis@daoine.org>) escribió:
>
> On Sun, Apr 09, 2023 at 04:08:30PM -0400, Rick Gutierrez wrote:
> > El dom, 9 abr 2023 a las 7:27, Francis Daly (<francis@daoine.org>) escribió:
>
> Hi there,
>
> > https://netsoluciones.com
> >
> > This is the site, for example when I want to load the site in English
> > it doesn't do it, it doesn't load the images and css either.
>
> When I try loading that site now, I see lots of requests to things that
> end in ".css" that get a HTTP 404 response; I do not see any images.
>
> The first one is for https://netsoluciones.com/assets/helpers/animate.css..
>
> Based on the config you provided, that should be handled by
> the "front" nginx by doing a proxy_pass to the "back" nginx;
> and the "back" nginx should provide the content of the file
> /var/www/sites/netsoluciones.com/htdocs/assets/helpers/animate.css.
>
> The end result is a 404 File Not Found.

Sorry Francis the folder path was wrong, update and try again

>
> Does that file exist on the back-end nginx server? What do those nginx
> logs say for this request? Did the request get to it at all, or did the
> request stop at the front-end nginx server? What do *those* nginx logs
> say for this request?
>
> If you make a test request like
>
> curl -i https://netsoluciones.com/assets/helpers/animate.css
>
> do you see the response that you expect? (Which should probably be HTTP
> 200 along with the content of the expected file.)
>
> Slightly strangely: when I do that using curl, I get a HTTP 200 response
> but with html not css; where my browser gets a HTTP 404 response. Maybe
> they are talking to different servers, or maybe there is some config
> that handles the request differently based on something other than the url.
>
> > I hope that by looking at the site you have a better idea.
>
> Not really, no, sorry.
>
> I do not know how things are intended to look, so I cannot tell which
> parts are not that way.
>

Let me see if I send a screenshot, locally it loads fine.


--
rickygm

http://gnuforever.homelinux.com
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
Attachments:
open | download - home.png (509.7 KB)
open | download - productos.png (145.8 KB)
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: 109
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready