aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/nginx
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2019-06-25 11:06:06 +0200
committersebdet <sebastien.determe@intl.att.com>2019-06-25 11:50:09 +0200
commitc95e8dfe17f9ebf48ece6450c7bab40d7546ee0d (patch)
tree79a54c340e2e4a28c8225ed028ecb869d218deaa /ui-react/nginx
parent86042f471f05f08a9c6935988b523c3e2949b7f0 (diff)
Frontend initial draft
New frontend initial draft in React with docker image in nginx Issue-ID: CLAMP-413 Change-Id: Ie5826d79aa3db23f863e8fd217189ba41534abe9 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'ui-react/nginx')
-rw-r--r--ui-react/nginx/nginx.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/ui-react/nginx/nginx.conf b/ui-react/nginx/nginx.conf
new file mode 100644
index 000000000..758a646e5
--- /dev/null
+++ b/ui-react/nginx/nginx.conf
@@ -0,0 +1,17 @@
+server {
+
+ listen 80;
+
+ location / {
+ root /usr/share/nginx/html;
+ index index.html index.htm;
+ try_files $uri $uri/ /index.html;
+ }
+
+ error_page 500 502 503 504 /50x.html;
+
+ location = /50x.html {
+ root /usr/share/nginx/html;
+ }
+
+} \ No newline at end of file