Added by Wojt Wojt over 7 years ago
Hello,
I installed OP in vr 7.1 on CentOS 7, everything work correctly, except redirecting http to https. Op created file openproject.conf:
<VirtualHost *:80> ServerName mydomain.com RewriteEngine On RewriteRule ^/?(.*) https://%{SERVER_NAME}:443/$1 [R,L] </VirtualHost> <VirtualHost *:443> ServerName mydomain.com DocumentRoot /opt/openproject/public ProxyRequests off Include /etc/openproject/addons/apache2/includes/vhost/*.conf # Can't use Location block since it would overshadow all the other proxypass directives on CentOS ProxyPass / http://127.0.0.1:6000/ retry=0 ProxyPassReverse / http://127.0.0.1:6000/ </VirtualHost>
but when i try open http://mydomain.com i got info: “This site is unreachable”. When i try open https://mydomain.com everything is OK. Hao to repair it??
Thanks
Wojt