change server signature
This commit is contained in:
parent
f0d2f67618
commit
fa4a92f0c8
1 changed files with 13 additions and 11 deletions
|
@ -337,6 +337,8 @@ class mastodon (
|
||||||
{ 'path' => '/mask-icon.svg', 'url' => '!' },
|
{ 'path' => '/mask-icon.svg', 'url' => '!' },
|
||||||
],
|
],
|
||||||
custom_fragment => '
|
custom_fragment => '
|
||||||
|
ServerSignature Off
|
||||||
|
|
||||||
ProxyPass /api/v1/streaming ws://localhost:4000
|
ProxyPass /api/v1/streaming ws://localhost:4000
|
||||||
ProxyPassReverse /api/v1/streaming ws://localhost:4000
|
ProxyPassReverse /api/v1/streaming ws://localhost:4000
|
||||||
ProxyPass / http://localhost:3000/
|
ProxyPass / http://localhost:3000/
|
||||||
|
@ -398,7 +400,7 @@ class mastodon (
|
||||||
docroot => "${mastodon_home}/live/public",
|
docroot => "${mastodon_home}/live/public",
|
||||||
redirect_status => 'permanent',
|
redirect_status => 'permanent',
|
||||||
redirect_dest => "https://${hostname}/",
|
redirect_dest => "https://${hostname}/",
|
||||||
server_signature => false,
|
custom_fragment => 'ServerSignature Off',
|
||||||
}
|
}
|
||||||
|
|
||||||
# systemd units
|
# systemd units
|
||||||
|
|
Loading…
Reference in a new issue