From 25b373e1bb16804ceaaf7d7030f4c1d840589313 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Mon, 8 Feb 2016 12:46:25 -0500 Subject: [PATCH] updated nginx --- 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;