if I do this, root /static/duc/; location / {
rewrite ^ /index.html break; #try_files $uri $uri/ /index.html; # try_files /index.html =404; } and open https://x3x.us/ the images cannot be seen, it does not work. Kindly test, So, is there a way to specify the document for a location, if there are many documents in the same root? It looks like a big bug or misdesign to me. Please don't believe me, I can send you the data and you may test it in your own box. or I can go back and then you can pull the HTML and the two images with curl On Thu, Feb 23, 2023 at 6:22 PM Dan Swaney <justda...@gmail.com> wrote: > I don't see the rest of your nginx.conf. Also, the link you posted is to > a logon page with no image URLs. > > On Wed, Feb 22, 2023 at 10:57 AM Saint Michael <vene...@gmail.com> wrote: > >> I have a location >> >> root /static/duc/Digital_Universal_Currency; >> # ... other directives ... >> location / { >> >> try_files /index.html =404; >> } >> you my see it directly >> https://securedigitalcheck.com >> The images don't work. No browser can see them. >> if I download them directly with wget, they download, same size, but in >> Windows they do not open with paint or with Chrome, the error message says >> that they are "format unknown". >> but if I download the image via SCP, directly, there is nothing wrong >> with them. >> so what is ningx doing? >> >> >> >> >>> >>> _______________________________________________ >> nginx mailing list >> nginx@nginx.org >> https://mailman.nginx.org/mailman/listinfo/nginx >> > _______________________________________________ > nginx mailing list > nginx@nginx.org > https://mailman.nginx.org/mailman/listinfo/nginx >
_______________________________________________ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx