Žiadny popis

Ilya Sosnovsky c6f87f7a59 fix readme 4 rokov pred
css 9c3a30276e Change centering of message section 7 rokov pred
fonts 6e594bb295 add fonts for IE and Safari 7 rokov pred
img 813bf0f577 [ImgBot] Optimize images 5 rokov pred
js 1de8a5748f add page 7 rokov pred
403.html 26acbaf9ea Added error pages 4 rokov pred
404.html 26acbaf9ea Added error pages 4 rokov pred
50x.html 26acbaf9ea Added error pages 4 rokov pred
CNAME 56df1104be Create CNAME 6 rokov pred
LICENSE c02736f920 Initial commit 7 rokov pred
README.md c6f87f7a59 fix readme 4 rokov pred
_config.yml 523acbc515 Set theme jekyll-theme-minimal 7 rokov pred
index.html 9c3a30276e Change centering of message section 7 rokov pred

README.md

MaintenancePage

Simple to install and use

  1. cd /var/www
  2. git clone https://github.com/pashcovich/maintenance_page

I use this simple configuration for nginx on my servers:

# Default server configuration
#
server {
        listen 80 default_server;
        listen [::]:80 default_server;

        # listen 443 ssl default_server;
        # listen [::]:443 ssl default_server;

        root /var/www/maintenance_page;

        error_page 403 = /403.html;
        error_page 404 = /404.html;

        error_page 500 502 503 504 /50x.html;

        index index.html;

        server_name _;

        location / {
                # First attempt to serve request as file, then
                # as directory, then fall back to displaying a 404.
                try_files $uri $uri/ =404;
        }
}