I already tried that with same results.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,292742,292744#msg-292744
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
First of all try to add a "server_name".
See http://nginx.org/en/docs/http/server_names.html
Am 02.11.21 um 20:46 schrieb deeztek:
> I'm having a problem with Nginx serving static content (.css, .js, .png,
> .jpg etc.).
>
> In the below configuration, if I access the server via IP address static
I'm having a problem with Nginx serving static content (.css, .js, .png,
.jpg etc.).
In the below configuration, if I access the server via IP address static
content is served with no problem. However, if I switch to host name, I get
a 404 for all static content.
=== nginx.conf starts here ===
s
Changes with nginx 1.21.402 Nov 2021
*) Change: support for NPN instead of ALPN to establish HTTP/2
connections has been removed.
*) Change: now nginx rejects SSL connections if ALPN is used by the
client, but no supported protocols ca