OSDN Git Service

Add reverse proxy settings
authoreagletmt <eagletmt@gmail.com>
Mon, 22 Oct 2012 12:23:57 +0000 (21:23 +0900)
committereagletmt <eagletmt@gmail.com>
Mon, 22 Oct 2012 12:23:57 +0000 (21:23 +0900)
CutenServer/nginx/cuten.conf

index 39414b4..d8084a2 100644 (file)
@@ -7,6 +7,10 @@ server {
     server_name _;
     charset utf-8;
 
+    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+    proxy_set_header Host $http_host;
+    proxy_redirect off;
+
     location ~ ^/assets/ {
         root public;