Skip to content

Commit

Permalink
add /shorten and /goto Locations into /etc/apache2/sites-available/se…
Browse files Browse the repository at this point in the history
…curityonion.conf and reverse proxy to Kibana
  • Loading branch information
dougburks committed Jan 6, 2018
1 parent b29742d commit f82f8cc
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions etc/apache2/sites-available/securityonion.conf
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,19 @@ SetEnv no-gzip dont-vary
ProxyPass http://127.0.0.1:5601/elasticsearch
ProxyPassReverse http://127.0.0.1:5601/elasticsearch
</Location>
<Location /goto>
AuthType form
AuthName "Security Onion"
AuthFormProvider external
AuthExternal so-apache-auth-sguil
Session On
SessionCookieName session path=/;httponly;secure;
SessionCryptoPassphraseFile /etc/apache2/session
ErrorDocument 401 /login.html
Require valid-user
ProxyPass http://127.0.0.1:5601/goto
ProxyPassReverse http://127.0.0.1:5601/goto
</Location>
<Location /plugins>
AuthType form
AuthName "Security Onion"
Expand All @@ -138,6 +151,19 @@ SetEnv no-gzip dont-vary
ProxyPass http://127.0.0.1:5601/plugins
ProxyPassReverse http://127.0.0.1:5601/plugins
</Location>
<Location /shorten>
AuthType form
AuthName "Security Onion"
AuthFormProvider external
AuthExternal so-apache-auth-sguil
Session On
SessionCookieName session path=/;httponly;secure;
SessionCryptoPassphraseFile /etc/apache2/session
ErrorDocument 401 /login.html
Require valid-user
ProxyPass http://127.0.0.1:5601/shorten
ProxyPassReverse http://127.0.0.1:5601/shorten
</Location>
<Location /status>
AuthType form
AuthName "Security Onion"
Expand Down

0 comments on commit f82f8cc

Please sign in to comment.