diff --git a/docker-compose.yml b/docker-compose.yml index f20347c..7ec60b3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -29,7 +29,6 @@ services: container_name: "codiki-frontend" ports: - "50012:80" - - "50013:443" networks: - "codiki-network" diff --git a/frontend/conf/nginx.conf b/frontend/conf/nginx.conf index 74e7624..53419c7 100644 --- a/frontend/conf/nginx.conf +++ b/frontend/conf/nginx.conf @@ -9,6 +9,12 @@ http { ~*^en en; } + types { + module js; + } + + include /etc/nginx/mime.types; + server { listen 80; server_name codiki.org; diff --git a/frontend/package.json b/frontend/package.json index dc1ae12..c37f802 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -7,8 +7,8 @@ "start-en": "ng serve --port 4201 --configuration=en --proxy-config proxy.conf.json", "start-fr": "ng serve --port 4201 --configuration=fr --proxy-config proxy.conf.json", "build": "ng build", - "build-prod-en": "ng build --configuration=production-en --base-href", - "build-prod-fr": "ng build --configuration=production-fr --base-href", + "build-prod-en": "ng build --configuration=production-en --base-href /en/", + "build-prod-fr": "ng build --configuration=production-fr --base-href /fr/", "watch": "ng build --watch --configuration development", "test": "ng test", "i18n": "ng extract-i18n --output-path src/locale --format=json"