Hello all,
I've an internet domain and I added a dns entry to connect to my nextcloud appliance. the dns is like cloud.mywebsite.com.
In my /etc/httpd/conf./ folder, I added a new .conf file including the following orders :
of course, it doesnt work as I'm really not a guru in http redirection, could you point me to the right direction ? and is there a way in the same file to redirect http to https to connect to my cloud ?
thanks to all for your help
Arnaud
I've an internet domain and I added a dns entry to connect to my nextcloud appliance. the dns is like cloud.mywebsite.com.
In my /etc/httpd/conf./ folder, I added a new .conf file including the following orders :
<VirtualHost *:80>
ServerName cloud.MyWebSite.com
ServerAlias MyClient.poweredbyclear.com
# Redirect permanent / http://MyClient.poweredbyclear.com/nextcloud
ProxyRequests On
ProxyPreserveHost On
ProxyPass / http://MyClient.poweredbyclear.com/nextcloud/
ProxyPassReverse / http://MyClient.poweredbyclear.com/nextcloud/
# ----------------------------------------
TransferLog /var/log/httpd/cloud_log
ErrorLog /var/log/httpd/error_cloud_log
</VirtualHost>
of course, it doesnt work as I'm really not a guru in http redirection, could you point me to the right direction ? and is there a way in the same file to redirect http to https to connect to my cloud ?
thanks to all for your help
Arnaud
Share this post:
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »