From f25806507a0153b3eab82195b5fc1255e7938ded Mon Sep 17 00:00:00 2001 From: Niggl Date: Wed, 10 Jun 2020 13:25:26 +0200 Subject: [PATCH] Another nginx-angular related update --- nginx.conf | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/nginx.conf b/nginx.conf index 54d595a..6679ffa 100644 --- a/nginx.conf +++ b/nginx.conf @@ -3,12 +3,13 @@ worker_processes 1; events { worker_connections 1024; } http { - server { - listen 80; - location / { - root /usr/share/nginx/html; - index index.html index.htm; - try_files $uri $uri/ /index.html =404; - } - } + server { + listen 80; + root /usr/share/nginx/html; + include /etc/nginx/mime.types; + + location / { + try_files $uri /index.html; + } + } } \ No newline at end of file