summaryrefslogtreecommitdiffstats
path: root/dashboard/config
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2018-10-10 16:06:47 -0400
committerParker Berberian <pberberian@iol.unh.edu>2018-10-15 13:16:11 -0400
commit25275685e9a735e51fae8b1a936ba5733f6fb770 (patch)
treec3af41d1986c0812ca7ed059c16c7c7c7bd354cf /dashboard/config
parentf2e83b24260b018bb7cc30421eda6c9a8cebc309 (diff)
Lab as a Service 2.0
See changes here: https://wiki.opnfv.org/display/INF/Pharos+Laas Change-Id: I59ada5f98e70a28d7f8c14eab3239597e236ca26 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'dashboard/config')
-rw-r--r--dashboard/config/nginx/pharos_dashboard.conf26
1 files changed, 13 insertions, 13 deletions
diff --git a/dashboard/config/nginx/pharos_dashboard.conf b/dashboard/config/nginx/pharos_dashboard.conf
index 87b6f8e..6f32979 100644
--- a/dashboard/config/nginx/pharos_dashboard.conf
+++ b/dashboard/config/nginx/pharos_dashboard.conf
@@ -1,24 +1,24 @@
upstream web {
- ip_hash;
- server web:8000;
+ ip_hash;
+ server web:8000;
}
# portal
-server {
- listen 80;
- server_name localhost;
- charset utf-8;
+server {
+ listen 80;
+ server_name localhost;
+ charset utf-8;
- location /static {
+ location /static {
alias /static;
- }
+ }
- location /media {
+ location /media {
alias /media;
- }
+ }
- location / {
+ location / {
proxy_set_header Host $host;
- proxy_pass http://web/;
- }
+ proxy_pass http://web/;
+ }
}