change server signature

This commit is contained in:
Antonio J. Delgado 2023-11-28 20:09:22 +02:00
parent f0d2f67618
commit fa4a92f0c8

View file

@ -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