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:
Serreau Jovann
2025-11-17 11:09:34 +01:00
parent 381210448c
commit 81e457e0f9
2 changed files with 4 additions and 1 deletions

View File

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

View File

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