situation with friendly urls
Rick Gutierrez
xserverlinux at gmail.com
Mon Apr 10 15:07:11 UTC 2023
El lun, 10 abr 2023 a las 4:27, Francis Daly (<francis at 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: home.png
Type: image/png
Size: 521898 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20230410/053e37cd/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: productos.png
Type: image/png
Size: 149255 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20230410/053e37cd/attachment-0003.png>
More information about the nginx
mailing list