Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # don't decode encoded slashes in path info
- AllowEncodedSlashes On
- # enable compression on all relevant types
- AddOutputFilterByType DEFLATE text/html text/plain text/xml
- AddOutputFilterByType DEFLATE text/css
- AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript
- AddOutputFilterByType DEFLATE application/rss+xml
- AddOutputFilterByType DEFLATE application/xml
- AddOutputFilterByType DEFLATE application/json
- # allow access to static content
- <Directory "/peopleroot/skim/galaxy/static">
- AllowOverride None
- Require all granted
- </Directory>
- # Galaxy needs to know that this is https for generating URLs
- RequestHeader set X-URL-SCHEME "%{REQUEST_SCHEME}e"
- # allow up to 6 minutes for Galaxy to respond to slow requests before timing out
- ProxyTimeout 360
- # or uWSGI on a TCP socket
- ProxyPass / uwsgi://127.0.0.1:4432/ nocanon
- # serve framework static content
- RewriteEngine On
- RewriteRule ^/static/style/(.*) /peopleroot/skim/galaxy/static/style/blue/$1 [L]
- RewriteRule ^/static/(.*) /peopleroot/skim/galaxy/static/$1 [L]
- RewriteRule ^/favicon.ico /peopleroot/skim/galaxy/static/favicon.ico [L]
- RewriteRule ^/robots.txt /peopleroot/skim/galaxy/static/robots.txt [L]
- # enable caching on static content
- <Location "/static">
- ExpiresActive On
- ExpiresDefault "access plus 24 hours"
- </Location>
- # serve visualization and interactive environment plugin static content
- <Directory "/peopleroot/skim/galaxy/config/plugins/(.+)/(.+)/static">
- AllowOverride None
- Require all granted
- </Directory>
- RewriteRule ^/plugins/(.+)/(.+)/static/(.*)$ /peopleroot/skim/galaxy/config/plugins/$1/$2/static/$3 [L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement