nginx.confにIPログを部分的に匿名化するテキストを挿入

Essentially I want to modify nginx.conf to insert text at the end of the file from the below link:

I understand I need to do this with a hook in app.yml but I’m having a hard time understanding exactly how this works. More importantly trying to Google this hasn’t resulted in any documentation on how to use the replace command or useful posts at all, I suspect I’m using the wrong terminology.

I did find the following post by someone attempting to do the same thing but the examples in the repo only leave me feeling more confused.

Anyone know what I need to do here or where I can find documentation on doing it?
Essentially I want to modify nginx.conf to insert text at the end of the file from the below link:

I understand I need to do this with a hook in app.yml but I’m having a hard time understanding exactly how this works. More importantly trying to Google this hasn’t resulted in any documentation on how to use the replace command or useful posts at all, I suspect I’m using the wrong terminology.

I did find the following post by someone attempting to do the same thing but the examples in the repo only leave me feeling more confused.

Anyone know what I need to do here or where I can find documentation on doing it?

nginx の設定を変更する例については、discourse_docker/templates/web.template.yml at main · discourse/discourse_docker · GitHub を参照してください。

通常行うのは、yml の変更をテストする前に、コンテナ内で設定ファイルを直接編集することです。変更が機能したかどうかを確認するために再構築するには時間がかかるためです。

「いいね!」 2