#1 nginx still shown in error pages

Ouvert
Créé il y a 5 ans par stevet · 2 commentaires

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 a commenté il y a 5 ans
Propriétaire

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 a commenté il y a 4 ans
Propriétaire

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).
Connectez-vous pour rejoindre cette conversation.
Aucun jalon
Pas d'assignataire
1 Participants
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.