diff --git a/nginx/filesystem/etc/nginx/conf.d/nginx.conf b/nginx/filesystem/etc/nginx/conf.d/nginx.conf index d1f8e73..e2e0f33 100644 --- a/nginx/filesystem/etc/nginx/conf.d/nginx.conf +++ b/nginx/filesystem/etc/nginx/conf.d/nginx.conf @@ -43,17 +43,13 @@ server { #charset koi8-r; #access_log /var/log/nginx/host.access.log main; - location = / { + location / { root /usr/share/nginx/html; # First attempt to serve request as file, then # as directory, then redirect to index(angular) if no file found. try_files $uri $uri/ /index.html; } - location / { - return 404; - } - location /api/v1 { proxy_pass http://${IP_ADDRESS}:8081; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;