diff --git a/docs/deployment.rst b/docs/deployment.rst index a3f1500f..8b056f3d 100644 --- a/docs/deployment.rst +++ b/docs/deployment.rst @@ -95,8 +95,8 @@ proxies HTTP and WebSocket requests:: proxy_pass http://127.0.0.1:5000; } - location /static { - alias /static; + location /static/ { + alias /static/; expires 30d; } @@ -131,8 +131,8 @@ servers:: proxy_pass http://127.0.0.1:5000; } - location /static { - alias /static; + location /static/ { + alias /static/; expires 30d; }