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;