Skip to content
Snippets Groups Projects
Commit 2d694197 authored by ncastejon's avatar ncastejon
Browse files

Fix redirect on flag click - Change nginx docker server name for elasticsearch

parent 4b135924
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,10 @@ COPY ./webapp /app/webapp ...@@ -7,7 +7,10 @@ COPY ./webapp /app/webapp
WORKDIR /app/webapp WORKDIR /app/webapp
# Install npm dependencies # Install npm dependencies
RUN npm install RUN npm install
RUN npm rebuild node-sass
# For windows environment, with already a node_modules folder, we need reinstall the node-sass package
#RUN npm rebuild node-sass
# Building the Angular app /dist i18n # Building the Angular app /dist i18n
RUN npm run build-i18n RUN npm run build-i18n
......
server { server {
listen 80; listen 80;
server_name _; server_name localhost;
location / { location / {
proxy_pass https://elastic2.recette.data.grandlyon.com/elastic/; proxy_pass https://elastic2.recette.data.grandlyon.com/elastic/;
......
...@@ -12,7 +12,7 @@ export const environment = { ...@@ -12,7 +12,7 @@ export const environment = {
}, },
angularAppHost: { angularAppHost: {
fr: 'http://localhost:8080/fr', fr: '/fr',
en: 'http://localhost:8080/en' en: '/en'
} }
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment