From 81743f2b44ffb8ca1f982b80055a0259732807c6 Mon Sep 17 00:00:00 2001 From: FyloZ Date: Sat, 1 May 2021 23:14:02 -0400 Subject: [PATCH] Correction de la compilation? --- nginx.conf | 25 +++++-------------- .../pages/inventory/inventory.component.html | 4 +-- 2 files changed, 8 insertions(+), 21 deletions(-) diff --git a/nginx.conf b/nginx.conf index 4cf11fc..be570f8 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,28 +1,15 @@ -events { - worker_connections 1024; -} +worker_processes 4; + +events { worker_connections 1024; } http { - tcp_nopush on; - tcp_nodelay on; - keepalive_timeout 65; - types_hash_max_size 2048; - - include /etc/nginx/mime.types; - default_type application/octet-stream; - - access_log /var/log/nginx/access.log; - error_log /var/log/nginx/error.log; - server { - include /etc/nginx/mime.types; listen 80; - root /usr/bin/cre/dist/color-recipes-explorer-frontend; - index index.html; + root /usr/bin/cre/dist; + include /etc/nginx/mime.types; location / { - try_files $uri$args $uri$args/ /index.html; + try_files $uri /index.html =404; } } - } diff --git a/src/app/modules/material/pages/inventory/inventory.component.html b/src/app/modules/material/pages/inventory/inventory.component.html index 1d55bc2..a964091 100644 --- a/src/app/modules/material/pages/inventory/inventory.component.html +++ b/src/app/modules/material/pages/inventory/inventory.component.html @@ -39,7 +39,7 @@ class="ml-3" mat-raised-button color="accent" - routerLink="/material/add"> + routerLink="/catalog/material/add"> Ajouter @@ -119,7 +119,7 @@