![](/img/trans.png)
[英]How to find client ip for https request (i.e secured connection) in Rails 2.3.8
[英]How to configure redmine with https, in linux apache hosting server (i.e just host, bluehost)
如何在Linux apache托管服務器(即,僅host,bluehost)中使用https配置redmine。
正常的http網站正在工作。 但在https中不起作用。 我收到類似“找不到頁面”的錯誤。
我通常要做的是配置apache或nginx以將http重定向到https
ServerAdmin webmaster@localhost
ServerName redmine.example.com
DocumentRoot /var/www/redmine/public
RewriteEngine on
ReWriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
ErrorLog /var/log/apache2/redmine_error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/redmine_access.log combined
不要忘記VirtualHost指令
您將需要在網絡服務器上啟用ssl
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.