Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Comment on static generated content
Browse files Browse the repository at this point in the history
  • Loading branch information
ascheman committed Feb 22, 2020
1 parent 45dda03 commit 8096f91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions httpd-edge-with-static/dispatcher.conf
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ ProxyPassReverse ^/login/oauth2/(.+) http://dukecon-feedback:8090/login/oauth2/$
ProxyPassMatch ^/(\w+/\w+)/admin/(.*) http://dukecon-admin-client:80/$2
ProxyPassReverse ^/(\w+/\w+)/admin/(.*) http://dukecon-admin-client:80/$2

# Use static generated contents
# The '!' matchers are used to prohibit recursing into sub directories (which should not even exist anyways)
AliasMatch "^/(\w+)/(\d+)/rest/(image-resources|init).json" /usr/local/apache2/htdocs/rest/$1/$2/rest/$3.json
ProxyPassMatch "^/(\w+)/(\d+)/rest/(image-resources|init).json" !
AliasMatch "^/(\w+)/(\d+)/rest/conferences/(\w+)/(.+)" /usr/local/apache2/htdocs/rest/$1/$2/rest/conferences/$3/$4
Expand Down

0 comments on commit 8096f91

Please sign in to comment.