Simple modern Nginx server image based Debian with Let's Encrypt integrated and Google Page Speed module support
Hipster Server - a modern Nginx web and proxy server docker container image with automatic Let's Encrypt certificates, HTTP/2 and Google Page Speed module module supports.
- get docker-compose.yml and change things for enable automatic SSL and HTTP/2
- set
LETSENCRYPT=true
if you want automatic certificate install and renewal LE_EMAIL
should be your email
- set
- pull image -
docker-compose pull
- if you don't want pre-built image, make you own.
docker-compose build
will do it - start it
docker-compose up
If you install NPM, you can run commands via NPM:
npm run build
alias fordocker-compose build;docker images
npm start
alias fordocker-compose up -d;docker ps
npm stop
alias fordocker-compose stop && docker rm $(docker ps -qa);docker ps -a
npm run clean
alias fordocker rmi $(docker images | grep none | awk '{print $3}');docker images
- HTTP (80)
- HTTPS (443)
/etc/nginx/
nginx configuration/etc/letsencrypt
let's encrypt folder with certificates and information/var/pagespeed
pagespeed cache files/www/sites
static files, usually one subfolder per site.
- image based on okdocker/nginx image with compiled nginx (version depends on image tag, either mainline or stable) and ngx_pagespeed module.
- image uses debian's
certbot
package. script/entrypoint.sh
requests LE certificate and will refresh every 70 days (default value).- hipster-server on docker-hub
Created for hipsters in New.HR by new.hr-developers :)
See our job list: http://vacancy.new.hr