|
@@ -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;
|
|
|
+ }
|
|
|
+}
|