diff --git a/nginx-custom.conf b/nginx-custom.conf index 3cd4dbfa48bc85d2c93df83f5132091068af429a..74101ac4ddff33a767e3628dc9fe61113200c6a4 100644 --- a/nginx-custom.conf +++ b/nginx-custom.conf @@ -1,4 +1,3 @@ - # Expires map map $sent_http_content_type $expires { default off; @@ -13,11 +12,11 @@ listen 80; include /etc/nginx/mime.types; - server_name localhost; - location ^~/services/ { - root /usr/share/nginx/html; + server_name tmf_web; + location / { + root /usr/share/nginx/html/services; index index.html index.htm; - try_files $uri $uri/ /services/index.html =404; + try_files $uri $uri/ /index.html =404; } expires $expires;