This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2011/08/12 17:49:17 [debug] 26292#0: *368 http fastcgi record length: 283 | |
2011/08/12 17:49:17 [debug] 26292#0: *368 http fastcgi parser: 0 | |
2011/08/12 17:49:17 [debug] 26292#0: *368 http fastcgi header: "Status: 302 Moved Temporarily" | |
2011/08/12 17:49:17 [debug] 26292#0: *368 http fastcgi parser: 0 | |
2011/08/12 17:49:17 [debug] 26292#0: *368 http fastcgi header: "X-Powered-By: PHP/5.3.6" | |
2011/08/12 17:49:17 [debug] 26292#0: *368 http fastcgi parser: 0 | |
2011/08/12 17:49:17 [debug] 26292#0: *368 http fastcgi header: "Expires: Thu, 19 Nov 1981 08:52:00 GMT" | |
2011/08/12 17:49:17 [debug] 26292#0: *368 http fastcgi parser: 0 | |
2011/08/12 17:49:17 [debug] 26292#0: *368 http fastcgi header: "Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0" | |
2011/08/12 17:49:17 [debug] 26292#0: *368 http fastcgi parser: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 9090; | |
server_name cache.beta2.asiaclassified.com; | |
root /var/www/current/public; | |
set $rooty /var/www/currentpublic; | |
large_client_header_buffers 4 16k; | |
location /content { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Embedded in this article https://medium.com/p/c98e491015b6 | |
package main | |
import ( | |
"context" | |
"fmt" | |
"log" | |
"net/http" | |
"time" |