#1 nginx still shown in error pages

Avoinna
5 vuotta sitten avasi stevet · 2 kommenttia

https://git.red-green.com/RedGreen/nginx-alpine/src/master/nginx.conf#L2

This comment is wrong. We need this to load the more headers module. If we don't, the container fails to start!

nginx still can show in the error pages (if you don't define a custom error page).

The index.html say hello from nginx. (That's silly!)

https://git.red-green.com/RedGreen/nginx-alpine/src/master/nginx.conf#L2 This comment is wrong. We need this to load the more headers module. If we don't, the container fails to start! nginx still can show in the error pages (if you don't define a custom error page). The index.html say hello from nginx. (That's silly!)
Steve Thielemann kommentoitu 5 vuotta sitten
Omistaja

Change server name here:

https://git.red-green.com/RedGreen/nginx-alpine/src/master/nginx.conf#L21

In the nginx.conf file, where it says

more_set_headers "Server: bz&bz";

because the line numbers may change with time.

Change server name here: https://git.red-green.com/RedGreen/nginx-alpine/src/master/nginx.conf#L21 In the nginx.conf file, where it says ```more_set_headers "Server: bz&bz";``` because the line numbers may change with time.
Steve Thielemann kommentoitu 4 vuotta sitten
Omistaja

https://blog.adriaan.io/one-nginx-error-page-to-rule-them-all.html Pretty fancy there. Using SSI (server-side includes).

https://blog.adriaan.io/one-nginx-error-page-to-rule-them-all.html Pretty fancy there. Using SSI (server-side includes).
Kirjaudu sisään osallistuaksesi tähän keskusteluun.
Ei merkkipaalua
Ei osoitettua
1 osallistujaa
Ladataan...
Peruuta
Tallenna
Sisältöä ei vielä ole.