#1 nginx still shown in error pages

開啟中
stevet5 年之前創建 · 2 條評論

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 commented 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 commented 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).
Sign in to join this conversation.
未選擇里程碑
未指派成員
1 參與者
正在加載...
取消
保存
尚未有任何內容