Giter Site home page Giter Site logo

ghost-blog-nginx-and-host-configuration's Introduction

Ghost CMS Nginx and Host Configuration

Ghost CMS Nginx, Host and SSL Configuration

example.com.conf

sudo nano /var/www/ghost/system/files/example.com.conf

example.com-ssl.conf

sudo nano /var/www/ghost/system/files/example.com-ssl.conf

ssl-params.conf

sudo nano /etc/nginx/snippets/ssl-params.conf

nginx.conf

sudo nano /etc/nginx/nginx.conf

These files generate and Configure while installing Ghost via Ghost-CLI

I add extra functions on the Nginx and Host configuration file

Force SSL redirect

File - example.com.conf

# Redirect HTTP to HTTPS - Remove this if you are Not Configuring SSL for your Ghost Blog
    if ($scheme = http) {
        return 301 https://$server_name$request_uri;
    }
    

Remove Powered by HTTP header

Files - example.com.conf and example.com-ssl.conf

 proxy_hide_header X-powered-by;

Add x-xss-protection on Header

File - ssl-params.conf

add_header x-xss-protection "1; mode=block" always;

Remove Nginx Version and OS Name

File - nginx.conf

  • Find this Line #server_tokens off;
  • Remove # from the Line
  • Save the Nginx File and Restart (For Gzip Compression check our nginx.conf file)

Features

  • Secure SSL A+ Grade
  • Force SSL
  • Nginx Proxy
  • Hide Powered by

Latest and Updated Files

  • example.com.conf
  • example.com-ssl.conf
  • ssl-params.conf

Deprecated Files

  • ghost.conf
  • ghost.service

Fork this github repository.Every Month we will update this Respository After Configuration test

Maintained by Santhosh veer

Here is Full Installation Guide to Install Ghost Blog CMS on Ubuntu with Free SSL and HTTP/2 - Read Now

(C) 2017-2018 itrendbuzz.com

ghost-blog-nginx-and-host-configuration's People

Contributors

mskian avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

donanak

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.