ghost-blog

FTP into existing Docker Containers

房东的猫 提交于 2021-02-18 12:42:09
问题 I'm looking to see if it is possible to somehow FTP into an already existing Docker container? For example, I'm using the dockerfile/ghost in combination with jwilder/nginx-proxy, and once I deploy/build a container, I'd like for the user to be able to FTP into the container running Ghost so they can upload additional files such as themes, stylesheets, etc. What would be the best method in accomplishing this? Thanks in advance! 回答1: You have a few choices: run ftp in the Ghost container and

How to add class in image markdown in Ghost?

纵饮孤独 提交于 2020-01-12 12:01:10
问题 In Ghost, the markdown for image is ![alt](src) Is there a hidden format for adding a class in the img tag? Or is this feature not in Ghost yet? I wanted to have a result like this: <img src="src" alt="alt" class="img-thumbnail"> I don't want to use the html markup. I really need to achieve this using markdown. Please help.. 回答1: In plain markdown classes for images are not possible. In some implementations it is possible, e.g. markdown extra uses ![alt](src) {.class} . I tried it, but in

What Azure Kubernetes (AKS) 'Time-out' happens to disconnect connections in/out of a Pod in my Cluster?

二次信任 提交于 2019-12-19 18:25:26
问题 I have a working Cluster with services that all respond behind a helm installed Ingress nGinx running on Azure AKS. This ended up being Azure specific. My question is: Why does my connection to the services / pods in this cluster periodically get severed (apparently by some sort of idle timeout), and why does that connection severing appear to also coincide with my Az AKS Browse UI connection getting cut? This is an effort to get a final answer on what exactly triggers the time-out that

What Azure Kubernetes (AKS) 'Time-out' happens to disconnect connections in/out of a Pod in my Cluster?

 ̄綄美尐妖づ 提交于 2019-12-19 18:25:01
问题 I have a working Cluster with services that all respond behind a helm installed Ingress nGinx running on Azure AKS. This ended up being Azure specific. My question is: Why does my connection to the services / pods in this cluster periodically get severed (apparently by some sort of idle timeout), and why does that connection severing appear to also coincide with my Az AKS Browse UI connection getting cut? This is an effort to get a final answer on what exactly triggers the time-out that

Nginx - reverse proxy a Ghost blog with /subfolder redirect

拜拜、爱过 提交于 2019-12-19 09:26:18
问题 I have a working nginx instance with the rules below. But I'm having difficulties pointing all the requests to domain.com/ghost I tried modifying the location / {} block to location /ghost/ {} but with no success. I just get a 404 from the ghost app. Any suggestions? server { listen 80; server_name domain.com; root /home//user/ghost/; index index.php; # if ($http_host != "domain.com") { # rewrite ^ http://domain.com$request_uri permanent; # } location / { proxy_set_header X-Real-IP $remote

GCE LetsEncrypt Error - Cannot locate wrapped file

喜夏-厌秋 提交于 2019-12-13 02:23:29
问题 I am running into an issue with executing 'letsencrypt-auto' on the GCE Bitnami Ghost image. The issue can be reproduced using the base installer below: https://cloud.google.com/launcher/solution/bitnami-launchpad/ghost Here is the command I use, and it's output: sudo wget https://github.com/letsencrypt/letsencrypt/archive/master.zip sudo unzip master.zip cd letsencrypt sudo /opt/bitnami/ctlscript.sh stop sudo ./letsencrypt-auto --debug ..install dependencies... **Reading package lists...

kill doesn't actually terminate the ghost process

我的未来我决定 提交于 2019-12-11 17:24:38
问题 In order to terminate the ghost process (process which hasn't terminated properly and hence it still pending to be killed) I used the kill -9 <process-id> At times it works perfectly, and when I check the process after killing it, it is gone ps -aux | grep python However, surprisingly, now I am able to see the ghost process even after the kill command. What's the problem? In the image above, I tried to kill the process with id 23756 but it still appears in ps aux Referring to my answer to

Get the most viewed posts in Ghost blog

半腔热情 提交于 2019-12-11 11:55:14
问题 I want to make a list of the most viewed posts in the last month. I found almost zero info about this. Is it possible? Can it be done using Google Analytics or something? 回答1: I don't think this can be done with the built-in toolset of Ghost. Since I have found almost zero info about this like you, I decided to create my own implementation. First, you have to integrate GA tracking to your site. Here's more info on how to do that: https://help.ghost.org/article/16-google-analytics I created a

Change Ghost Blog's Default Routing

混江龙づ霸主 提交于 2019-12-07 04:04:02
问题 Is there a way to change the default routing in Ghost? I have created a blog using the ghost platform and changed the default theme from Casper to Ghostion. I then created four static pages about me, my portfolio, blog, and resume. Everything is working as it should. Here is the problem Ghost by default passes all the blog articles to the index.hbs file. I would like to change this and have them passed to a custom blog.hbs file then when the user navigates to the /blog slug have the server

What Azure Kubernetes (AKS) 'Time-out' happens to disconnect connections in/out of a Pod in my Cluster?

本秂侑毒 提交于 2019-12-01 17:32:51
I have a working Cluster with services that all respond behind a helm installed Ingress nGinx running on Azure AKS. This ended up being Azure specific. My question is: Why does my connection to the services / pods in this cluster periodically get severed (apparently by some sort of idle timeout), and why does that connection severing appear to also coincide with my Az AKS Browse UI connection getting cut? This is an effort to get a final answer on what exactly triggers the time-out that causes the local 'Browse' proxy UI to disconnect from my Cluster (more background on why I am asking to