diff --git a/nginx.conf b/nginx.conf index 2ec0308..5982179 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,16 +1,16 @@ -server { - listen 80 default_server; +worker_processes 4; - root /usr/share/nginx/html; +events { worker_connections 1024; } - index index.html; +http { + server { + listen 8080; + root /usr/share/nginx/html/nested-app; + include /etc/nginx/mime.types; - location / { - try_files $uri /index.html =404; - } - - # Ajouter le type MIME pour les fichiers JavaScript - types { - text/javascript js; - } -} + location /nested-app/ { + root /usr/share/nginx/html; + try_files $uri $uri/ /nested-app/index.html; + } + } +} \ No newline at end of file diff --git a/public/i18n/en.json b/public/i18n/en.json index bf4b3bd..5de2ee5 100644 --- a/public/i18n/en.json +++ b/public/i18n/en.json @@ -1,4 +1,5 @@ { + "title": "Portfolio", "cv": "CV", "personal-email": "Delanierlucas@gmail.com", "copy": "Copy", diff --git a/public/i18n/fr.json b/public/i18n/fr.json index 5bd1882..f975019 100644 --- a/public/i18n/fr.json +++ b/public/i18n/fr.json @@ -1,4 +1,5 @@ { + "title": "Portfolio", "cv": "CV", "personal-email": "Delanierlucas@gmail.com", "copy": "Copier",