Commit ebea643a authored by Kostis Trantzas's avatar Kostis Trantzas
Browse files

Merge branch '15-update-obsolete-nginx-configuration-for-image-build' into 'develop'

Resolve "Update obsolete nginx configuration for image build"

See merge request !9
parents e34fd2a6 0852a029
Loading
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line

        # 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;