From 94bc2f3b56360fe6d139018014abcf59d81ccee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20M=C3=A9nager?= <herve.menager@gmail.com> Date: Mon, 26 Jul 2021 23:36:21 +0200 Subject: [PATCH] correct nginx configuration --- client/nginx.conf | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/client/nginx.conf b/client/nginx.conf index e308ffa7..e819137b 100644 --- a/client/nginx.conf +++ b/client/nginx.conf @@ -3,15 +3,13 @@ server { listen [::]:80; server_name localhost; + root /usr/share/nginx/html; + location / { - root /usr/share/nginx/html; - try_files $uri $uri/index.html index.html; + try_files $uri $uri/index.html /index.html; } error_page 500 502 503 504 /50x.html; - location = /50x.html { - root /usr/share/nginx/html; - } } -- GitLab