Commits

fan yu  committed 30045b9

Fixed nginx configure

  • Participants
  • Parent commits 4958507

Comments (0)

Files changed (2)

File misc/include/nginx.conf

     {
         proxy_cache cache_pic;
         proxy_cache_key $host$uri$is_args$args;
+        proxy_cache_valid 200 304 12h;
         proxy_set_header Host $host;
         proxy_set_header X-Forwarded-For  $remote_addr;
         proxy_pass http://pic_cdn;

File misc/nginx.conf

         {
             proxy_cache cache_pic;
             proxy_cache_key $host$uri$is_args$args;
+            proxy_cache_valid 200 304 12h;
             proxy_set_header Host $host;
             proxy_set_header X-Forwarded-For  $remote_addr;
             proxy_pass http://backend_server;