Daniele Bonini (皮夕): WebDev, DevOps and homomm.org by lots of Simplicity bits 3 жил өмнө
parent
commit
29480ec1ab
1 өөрчлөгдсөн 11 нэмэгдсэн , 0 устгасан
  1. 11 0
      INSTALLATION.md

+ 11 - 0
INSTALLATION.md

@@ -23,6 +23,17 @@
         root /var/www/YourHomomm/Public/static;
         index index.php; 
        
+        location / {     
+          proxy_set_header Host $host;     
+          proxy_set_header X-Real_IP $remote_addr;     
+          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;    
+         
+          proxy_http_version 1.1;     
+          proxy_set_header Connection "";     
+        
+          proxy_pass http://127.0.0.1:8081;        
+        }
+     
         location ~* ^.+\.(php)$ {     
           proxy_set_header Host $host;     
           proxy_set_header X-Real_IP $remote_addr;