From 41abd43314f38718017e506c1a61d6e599fa65f7 Mon Sep 17 00:00:00 2001 From: Ian Webster Date: Sun, 16 Nov 2014 12:40:30 -0800 Subject: [PATCH] Add nginx configuration. --- nginx/textbelt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 nginx/textbelt diff --git a/nginx/textbelt b/nginx/textbelt new file mode 100644 index 0000000..523b0f5 --- /dev/null +++ b/nginx/textbelt @@ -0,0 +1,13 @@ +server { + server_name textbelt.com www.textbelt.com; + location / { + proxy_pass_header Server; + proxy_set_header Host $http_host; + proxy_redirect off; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Scheme $scheme; + proxy_connect_timeout 40; + proxy_read_timeout 40; + proxy_pass http://localhost:9090/; + } +}