Explorar el Código

Merge branch 'fb' of wangfan/adweb3-server into master

wangfan hace 1 mes
padre
commit
75f7a7b6b4
Se han modificado 2 ficheros con 17 adiciones y 0 borrados
  1. BIN
      conf/adweb_v3.sql.zip
  2. 17 0
      conf/nginx/facebook-proxy.conf

BIN
conf/adweb_v3.sql.zip


+ 17 - 0
conf/nginx/facebook-proxy.conf

@@ -0,0 +1,17 @@
+server {
+    listen 80;
+    server_name facebook-proxy.adwebcloud.com;
+
+    location / {
+        proxy_pass https://graph.facebook.com/;
+        proxy_ssl_server_name on;
+        proxy_set_header Host graph.facebook.com;
+        proxy_set_header X-Forwarded-For $remote_addr;
+        proxy_set_header X-Forwarded-Proto $scheme;
+        proxy_http_version 1.1;
+
+        chunked_transfer_encoding off;
+        proxy_buffering off;
+        proxy_cache off;
+    }
+}