#1 nginx still shown in error pages

Открыто
5 лет назад открыта stevet · комментариев: 2
Steve Thielemann прокомментировал 5 лет назад

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 прокомментировал 5 лет назад
Владелец

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 прокомментировал 4 лет назад
Владелец

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).
Войдите, чтобы присоединиться к обсуждению.
Нет этапа
Нет ответственного
1 участников
Загрузка...
Отмена
Сохранить
Пока нет содержимого.