From c4994b979de6cfcbfbd9bf025c7ee86437e894d9 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Mon, 8 Feb 2016 12:46:25 -0500 Subject: [PATCH] updated nginx Former-commit-id: 8921f18d2e79c11d8c1599a62d74001e2430f25e [formerly e9d12ed78e252b4d01279895510cb96863175bd1] [formerly 433ffaed97bcda9d707fef4d433efe47ba010dad [formerly 25b373e1bb16804ceaaf7d7030f4c1d840589313]] Former-commit-id: b18dee88c673f773f18fa38de3e6d1d970bee171 [formerly 9c5d887f433efda9f703c9f5eb12e42f2d1ee064] Former-commit-id: 2c24834a9fb2ca4c303a7f65b416ddaaa44b256c --- install/cowyo.nginx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/cowyo.nginx b/install/cowyo.nginx index c6f14b6..0e9afd8 100644 --- a/install/cowyo.nginx +++ b/install/cowyo.nginx @@ -21,11 +21,11 @@ server { add_header Cache-Control "public"; } - location /static { + location ^~ /static { try_files $uri $uri/ =404; } - location / { + location ~ ^/ { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host;