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

Using apache2 as proxy with certbot ssl creates broken login #27

Open
zeLostchild opened this issue Jul 3, 2019 · 6 comments
Open

Using apache2 as proxy with certbot ssl creates broken login #27

zeLostchild opened this issue Jul 3, 2019 · 6 comments

Comments

@zeLostchild
Copy link

When I login from the actual ip it works or when it is not using https.

I tried a using certbot with apache and well... this is essentially what I got when I try in login an error occurs. (I can still use IP address to login)

Here is my apache .conf file

<IfModule mod_ssl.c>
<VirtualHost *:443>
   ProxyPreserveHost On
   ServerName pond.mydomain.org
     ProxyPass / http://0.0.0.0:8882/
     ProxyPassReverse / http://0.0.0.0:8882/

Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/pond.mydomain.org/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/pond.mydomain.org/privkey.pem
</VirtualHost>
</IfModule>

Also I have EXTERNAL_HOSTNAME=pond.mydomain.org for libretime.

Is there something that i need to add to the apache2 .conf file?

@Fireant456
Copy link

I am having the same issue using HAProxy and running into the same issue. Seems something with apache on the core container isn't getting set up right just changing apache port to 80 and supplying the hostname.

@lord-carlos
Copy link

I got the same problem with Nginx.
Nothing showing up in the logs.

@medcelerate
Copy link

Did you check the zendphp logs? I had a similar issue and it was due to CORS.

@lord-carlos
Copy link

Did you check the zendphp logs? I had a similar issue and it was due to CORS.

That was it. Thank you.

@maxlinux2000
Copy link

Hi How to fix the problem with CORS?
I'm using traefik 1.7.

@lord-carlos
Copy link

Hi How to fix the problem with CORS?
I'm using traefik 1.7.

Via ip login, go to preference, scroll down to Allowed CORS URLs and enter your domain or domains there. With http:// or https://

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

5 participants