Comments on: Install Ghost on CentOS 7 https://www.rosehosting.com/blog/install-ghost-with-nginx-on-centos-7/ Premium Linux Tutorials Since 2001 Mon, 12 Dec 2022 10:24:01 +0000 hourly 1 https://wordpress.org/?v=6.5.4 By: Eric Nicholls https://www.rosehosting.com/blog/install-ghost-with-nginx-on-centos-7/#comment-45440 Thu, 23 Feb 2017 04:08:45 +0000 https://www.rosehosting.com/blog/?p=18567#comment-45440 Thank you. This is by far the simplest and easiest to understand tutorial for Ghost and CentOS 7. It worked flawless.

]]>
By: admin https://www.rosehosting.com/blog/install-ghost-with-nginx-on-centos-7/#comment-44748 Tue, 31 May 2016 09:07:24 +0000 https://www.rosehosting.com/blog/?p=18567#comment-44748 In reply to Adrian Gonzalez.

This is pretty common error, most likely generated by the PHP or FastCGI buffer and timeout settings.

You may check the /var/log/nginx/ghost.error.log error log for details.

]]>
By: Adrian Gonzalez https://www.rosehosting.com/blog/install-ghost-with-nginx-on-centos-7/#comment-44747 Mon, 30 May 2016 23:51:02 +0000 https://www.rosehosting.com/blog/?p=18567#comment-44747 Why am i getting a 502 error when i try to access my blog?
here is my conf file:

upstream ghost {
server 127.0.0.1:2368;
}

server {
listen 80;
server_name blahblah.com;

access_log /var/log/nginx/ghost.access.log;
error_log /var/log/nginx/ghost.error.log;

proxy_buffers 16 64k;
proxy_buffer_size 128k;

location / {
proxy_pass http://ghost;
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
proxy_redirect off;

proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
}

}

]]>