Skip to content

Commit

Permalink
Add commented section to apache.conf for restricting access.
Browse files Browse the repository at this point in the history
  • Loading branch information
eldering committed Apr 11, 2017
1 parent 0aa609d commit 874a3be
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apache.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@

<Directory /var/www/html/icat>
Require all granted

# Enable the following lines and disable the one above for access restriction.
# AuthType Basic
# AuthName "ICPC autoanalyst pages"
# AuthUserFile /home/analyst/.htpasswd
# Require valid-user
</Directory>

ProxyPassMatch ^/icat/api/(EventFeed|scoreboard|teams)$ http://localhost:8099/$1
Expand Down

0 comments on commit 874a3be

Please sign in to comment.