Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set up Apache proxy #29

Open
variamus opened this issue Sep 21, 2018 · 0 comments
Open

How to set up Apache proxy #29

variamus opened this issue Sep 21, 2018 · 0 comments

Comments

@variamus
Copy link

Hi there!
Everything is working fine except that I'm unable to set up an Apache proxy.
I would like to do so to be able to put a ssl certificate on Shinken webui.
I've tried to change the apache original file or even add virtual host but still having troubles.

Virtualhost looked something like this:

`
ServerName shinken.tld

    ProxyRequests Off
    ProxyPreserveHost On
    ProxyVia On

    <Proxy *>
    Order allow,deny
    Allow from all
    </Proxy>

    ProxyPass / http://shinkenIP:8082/
    ProxyPassReverse / http://shinkenIP:8082/
    RewriteEngine on
    RewriteRule /webui[/]?$ /webui/dashboard/ [R=permanent]

    CustomLog ${APACHE_LOG_DIR}/access_shinken.log combined
    ErrorLog ${APACHE_LOG_DIR}/error_shinken.log

    SSLEngine on
    SSLCertificateFile path/to/certfile
    SSLCertificateKeyFile path/to/keyfile
    ProxyRequests On
    ProxyPreserveHost Off

`

Any idea ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant