add: docker folder for image build
All checks were successful
Deploy / Deploy (push) Successful in 6s

This commit is contained in:
2025-06-02 08:02:23 +00:00
parent 6b194c5069
commit b9b4d0bf8b
3 changed files with 66 additions and 0 deletions

26
docker/nginx.conf Normal file
View File

@@ -0,0 +1,26 @@
map $http_accept_language $lang {
default en;
~fr fr;
}
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
# Redirect users to their language home page
rewrite ^/$ /$lang/ redirect;
location / {
try_files $uri $uri/ =404;
}
# Custom 404 page
error_page 404 /$lang/404.html;
location = /$lang/404.html {
internal;
}
}