Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

nginx configure file

  • Loading branch information...
commit 79af1287457716bfe5abbb5b3f5ab33526a1341c 1 parent a76df10
@nulltask nulltask authored
Showing with 16 additions and 0 deletions.
  1. +16 −0 conf/twittaction.conf
View
16 conf/twittaction.conf
@@ -0,0 +1,16 @@
+server {
+ listen 80;
+ server_name twittaction.com twt.ac;
+
+ proxy_set_header X-Real-IP $remote_addr;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header Host $http_host;
+ proxy_redirect "off";
+ proxy_max_temp_file_size 0;
+
+ location / {
+ proxy_pass http://localhost:3000;
+ break;
+ }
+}
+
Please sign in to comment.
Something went wrong with that request. Please try again.