diff --git a/config/nomad/nginx.conf b/config/nomad/nginx.conf
new file mode 100644
index 0000000000000000000000000000000000000000..357a7c1571c5416b03dec13370b8b8bf9215b098
--- /dev/null
+++ b/config/nomad/nginx.conf
@@ -0,0 +1,22 @@
+worker_processes  1;
+
+events {
+    worker_connections  1024;
+}
+
+http {
+#    include       mime.types;
+#    default_type  application/octet-stream;
+
+#    sendfile        on;
+#    tcp_nopush     on;
+
+#    keepalive_timeout  0;
+#    keepalive_timeout  65;
+    server {
+        listen       8080;
+	    location /discovery/ {
+        proxy_pass http://discovery.service.consul:5006/;
+        }
+    }
+}
diff --git a/config/nomad/nginx.nmd b/config/nomad/nginx.nmd
new file mode 100644
index 0000000000000000000000000000000000000000..097b74aa621058bcb30baba6553dbed320624eb2
--- /dev/null
+++ b/config/nomad/nginx.nmd
@@ -0,0 +1,57 @@
+job "nginx" {
+  datacenters = ["dc1"]
+
+  type = "service"
+
+  update {
+    max_parallel = 1
+    min_healthy_time = "10s"
+    healthy_deadline = "3m"
+    auto_revert = false
+  }
+
+  group "nginx" {
+    count = 1
+
+    restart {
+      attempts = 2
+      interval = "30m"
+      delay = "15s"
+      mode = "fail"
+    }
+
+    task "nginx" {
+      driver = "docker"
+
+      config {
+        image = "nginx:latest"
+        volumes = ["/home/yakubov/projects/asapo/config/nomad/nginx.conf:/etc/nginx/nginx.conf","local/:/logs" ]
+        network_mode = "host"
+        dns_servers = ["127.0.0.1"]
+        dns_search_domains=["consul"]
+      }
+
+      resources {
+        cpu    = 500 # 500 MHz
+        memory = 256 # 256MB
+        network {
+          mbits = 10
+          port "nginx" {
+          static = 8080
+          }
+        }
+      }
+
+      service {
+        port = "nginx"
+        name = "nginx"
+        check {
+          name     = "alive"
+          type     = "tcp"
+          interval = "10s"
+          timeout  = "2s"
+        }
+      }
+   }
+  }
+}
\ No newline at end of file
diff --git a/config/nomad/payload.json b/config/nomad/payload.json
new file mode 100644
index 0000000000000000000000000000000000000000..ed49f9bbcc47070aeeb876d9190e608e3543120d
--- /dev/null
+++ b/config/nomad/payload.json
@@ -0,0 +1,9 @@
+{
+  "Name": "discovery",
+  "Address": "127.0.0.1",
+  "Port": 5006,
+  "Check": {
+    "HTTP": "http://localhost:5006/receivers",
+    "Interval": "15s"
+  }
+}