Skip to content
Snippets Groups Projects
Commit 5f2686d9 authored by Klaas Kliffen's avatar Klaas Kliffen :satellite:
Browse files

Merge branch 'hotfix/fix-nginx-config' into 'master'

Fix nginx conf

See merge request !107
parents ca1a9ceb 15036eb1
No related branches found
No related tags found
1 merge request!107Fix nginx conf
Pipeline #40197 passed
......@@ -12,4 +12,5 @@ RUN CI= npm run build
FROM nginx:mainline-alpine
COPY --from=BUILD_STAGE /app/build /usr/share/nginx/html/esap-gui/
COPY conf.d/default.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
server {
listen 80;
server_name localhost;
location /esap-gui/ {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /esap-gui/index.html;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment