mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-02 17:18:12 +08:00
Various hardening to REST routes (#1293)
* URL reweriting for static * request size limits * improve quotas, make tests work * remove debugging code * pass limits to front-end * fix renaming boggle
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# Configure URL rewriting from /<dataset>/static/* to /static/*
|
||||
files:
|
||||
"/etc/httpd/conf.d/static_rewrite.conf":
|
||||
mode: "000644"
|
||||
owner: root
|
||||
group: root
|
||||
content: |
|
||||
RewriteEngine On
|
||||
RewriteRule "^(.*)/static/(.*)" "/static/$2" [PT]
|
||||
RewriteRule "^/favicon.jpg" "/static/img/favicon.jpg" [PT]
|
||||
|
||||
Reference in New Issue
Block a user