daily pastebin goal
63%
SHARE
TWEET

Untitled

a guest Jan 24th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # don't decode encoded slashes in path info
  2. AllowEncodedSlashes On
  3.  
  4. # enable compression on all relevant types
  5. AddOutputFilterByType DEFLATE text/html text/plain text/xml
  6. AddOutputFilterByType DEFLATE text/css
  7. AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript
  8. AddOutputFilterByType DEFLATE application/rss+xml
  9. AddOutputFilterByType DEFLATE application/xml
  10. AddOutputFilterByType DEFLATE application/json
  11.  
  12. # allow access to static content
  13. <Directory "/peopleroot/skim/galaxy/static">
  14.     AllowOverride None
  15.     Require all granted
  16. </Directory>
  17.  
  18. # Galaxy needs to know that this is https for generating URLs
  19. RequestHeader set X-URL-SCHEME "%{REQUEST_SCHEME}e"
  20.  
  21. # allow up to 6 minutes for Galaxy to respond to slow requests before timing out
  22. ProxyTimeout 360
  23.  
  24. # or uWSGI on a TCP socket
  25. ProxyPass / uwsgi://127.0.0.1:4432/ nocanon
  26.  
  27. # serve framework static content
  28. RewriteEngine On
  29. RewriteRule ^/static/style/(.*) /peopleroot/skim/galaxy/static/style/blue/$1 [L]
  30. RewriteRule ^/static/(.*) /peopleroot/skim/galaxy/static/$1 [L]
  31. RewriteRule ^/favicon.ico /peopleroot/skim/galaxy/static/favicon.ico [L]
  32. RewriteRule ^/robots.txt /peopleroot/skim/galaxy/static/robots.txt [L]
  33.  
  34. # enable caching on static content
  35. <Location "/static">
  36.     ExpiresActive On
  37.     ExpiresDefault "access plus 24 hours"
  38. </Location>
  39.  
  40. # serve visualization and interactive environment plugin static content
  41. <Directory "/peopleroot/skim/galaxy/config/plugins/(.+)/(.+)/static">
  42.     AllowOverride None
  43.     Require all granted
  44. </Directory>
  45. RewriteRule ^/plugins/(.+)/(.+)/static/(.*)$ /peopleroot/skim/galaxy/config/plugins/$1/$2/static/$3 [L]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top