Skip to content

dopos/dcape-app-nginx-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dcape-app-nginx-sample

GitHub Release GitHub code size in bytes GitHub license

NGINX sample application package for dcape.

Docker image used

Features

This project contains

  • reference versions of core files for all of dcape applications since dcape v2:
  • samples for some nginx features:
    • log real user's ip from traefik data
    • send gzipped static files
    • custom error pages

Requirements

Install

By mouse (deploy with drone)

  • Gitea: Fork or mirror this repo in your Git service
  • Drone: Activate repo
  • Gitea: "Test delivery", config sample will be saved to enfist
  • Enfist: Edit config and remove .sample from name
  • Gitea: "Test delivery" again (or Drone: "Restart") - app will be installed and started on webhook host

By hands

git clone -b v2 --single-branch --depth 1 https://github.com/dopos/dcape-app-nginx-sample.git
cd dcape-app-nginx-sample
make config
... <edit .env.sample>
mv .env.sample .env
make up

Upgrade

git pull
make config
... <check .env.sample>
mv .env.sample .env
make up

License

The MIT License (MIT), see LICENSE.

Copyright (c) 2017-2020 Alexey Kovrizhkin lekovr+dopos@gmail.com