✨ feat(SeoController): Ajoute une route pour security.txt
✨ feat(caddy): Ajoute une redirection pour /api/send vers datas.e-cosplay.fr
This commit is contained in:
@@ -14,6 +14,9 @@ www.e-cosplay.fr {
|
||||
handle_path /vs.js {
|
||||
redir https://datas.e-cosplay.fr/script.js
|
||||
}
|
||||
handle_path /api/send {
|
||||
redir https://datas.e-cosplay.fr/api/send
|
||||
}
|
||||
|
||||
header {
|
||||
-X-Robots-Tag
|
||||
|
||||
@@ -12,7 +12,7 @@ use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
||||
|
||||
class SeoController extends AbstractController
|
||||
{
|
||||
#[Route(path: '/.well-known/security.txt',name: 'app_security_well_txt',methods: ['GET'])]
|
||||
#[Route(path: '/.well-known/security.txt',name: 'app_security_well_txt',methods: ['GET'])]
|
||||
#[Route(path: '/security.txt',name: 'app_security_txt',methods: ['GET'])]
|
||||
public function security(Request $request): Response
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user