Skip to content
Snippets Groups Projects
Commit a995427a authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Edit nginx.conf in order to allow link in articles without /fr or /en

parent 0e6a98bc
Branches
No related tags found
No related merge requests found
Pipeline #
...@@ -28,4 +28,9 @@ server { ...@@ -28,4 +28,9 @@ server {
try_files $uri$args /fr/index.html; try_files $uri$args /fr/index.html;
} }
# Allow to access the app without the /fr or /en and will by default redirect to /en/{path}
location / {
try_files $uri$args /en/index.html;
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment