#1 nginx still shown in error pages

Open
5 jaren geleden werd geopend door stevet · 2 opmerkingen

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 reageerde 5 jaren geleden
Eigenaar

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 reageerde 4 jaren geleden
Eigenaar

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).
Sign in to join this conversation.
Geen mijlpaal
Geen verantwoordelijke
1 deelnemers
Laden...
Annuleren
Opslaan
Er is nog geen inhoud.