I tried what was detailed at the bottom here
opened 11:39PM - 22 May 14 UTC
closed 05:48AM - 24 May 14 UTC
### Issue Summary
Creating a blog which only uses https requires that the links… generated by blog.url to be https however I am not able to set this in config.js
If I enter the url: to my blog in config.js as http, then all of my internal links point to http causing users and search engines to get redirected unnecessarily.
### Steps to Reproduce
Apache/2.2.22 (Debian) using the following options
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://example.com$1 [R=301,L]
ProxyRequests off
ProxyPass / http://127.0.0.1:2368/
ProxyPassReverse / http:/127.0.0.1:2368/
Ghost is running as http but needs to be able to write blog.url as whatever the user wants to specify.
### Technical details
- Ghost Version: 0.4.2
- Client OS: Win 7
- Server OS: Debian 7.5
- Node Version: v0.10.28
- Browser: Chrome
- Database: sqlite3
It didn’t work for me. Setting Cloudflare to full (strict) and rerunning:
ghost setup nginx
gives me an “ssl protocols do not match” error on Firefox.
I also tried
When I change the URL of my blog to https:// i get
… redirected you too many times.
Try clearing your cookies.
My nginx config:
server {
server_name ....;
listen .;
return 301 https://_$request_uri;
}
server {
listen .:443 ssl;
server_name .....;
ssl_certificate .....
ssl_certificate_key .....
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header HOST $http_host;
proxy_set_header X-NginX-Proxy true;
proxy_pass http:/…
I don’t have this issue
So far, I’ve:
deleted the nginx files listed at the bottom here
ran the command ghost config set url https://skerritt.blog
set cloudflare to full (strict)
turned on cloudflare’s development mode
turned off universal ssl as suggested here
ghost restart
This has given me “web server down”, although I don’t think it’s down as I’m connected to it via SSH. Also, I’ve restarted the server and this is still happening. I’m very new to this sort of thing, so any and all help would be appreciated
edit: When switching Cloudflare SSL to Flexible and enabling universal SSL, I get the same redirect error previously