diff --git a/client/nginx.conf b/client/nginx.conf index 6f61d6c..b628e97 100644 --- a/client/nginx.conf +++ b/client/nginx.conf @@ -20,8 +20,12 @@ http { location / { root /app; index index.html; - try_files $uri $uri/ /index.html; + try_files $uri $uri/ $uri/index.html =404; } + location /css { + alias /app/assets/styling; + } + error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html; diff --git a/client/public/assets/styling/index.css b/client/public/assets/styling/index.css new file mode 100644 index 0000000..69d2632 --- /dev/null +++ b/client/public/assets/styling/index.css @@ -0,0 +1,6 @@ +html, body{ + padding: 0; + margin: 0; + width: 100%; +} + diff --git a/client/public/index.html b/client/public/index.html index 97dfdee..5e8f89f 100644 --- a/client/public/index.html +++ b/client/public/index.html @@ -5,13 +5,7 @@ Raymon Zutekouw - +