Code Monkey home page Code Monkey logo

examples's Introduction

Examples for using Caddy Web Server

This repository contains community-contributed, simple, guided examples of using Caddy with a variety of web applications and purposes.

Simply choose a folder that describes what you're trying to use Caddy for or with. Look at the Caddyfile in that folder, and follow the instructions there for more information.

Pay attention to when the file you're looking at was last updated. Some may need to be updated to work with newer versions of Caddy.

Contributing

Please contribute new examples! We're happy to accept contributions that adhere to these quality standards:

  • Organize examples by application or use case. The top-level folders of this repo should be names of applications or use cases. Within each folder, there may be subfolders if there are multiple examples for it.
  • The example should generalize. It's okay to add an example for a niche (uncommon) application, but not a niche use of a niche application.
  • Be as minimal as possible. If it doesn't need to be in the Caddyfile to work properly, then don't put it in, even if you like it. We want people to learn precisely what they came to learn, the other stuff can follow.
  • Write a helpful README. Each example folder should contain a README with simple, concise instructions. Use your best grammar and cite sources! Do not over-explain, but don't leave it totally empty either. At minimum, explain why your example works. Be specific about what the example accomplishes.
  • Create a Caddyfile file. When applicable, create a file in your example folder called Caddyfile with the contents of the Caddyfile. You may annotate the Caddyfile with comments or describe it in the README, either way is fine.
  • Please keep it maintained. As the web application or use case associated with your example evolves, please keep the example maintained for future readers. Lots of people rely on examples to learn.

Thank you for being a part of our community! (We invite you to check out our forums too!)

examples's People

Contributors

mholt avatar msf-jarvis avatar jordic avatar tobya avatar niklas-heer avatar appleboy avatar clsource avatar xet7 avatar pierrebeaucamp avatar unknwon avatar p4tin avatar mkoppmann avatar looterz avatar koolhead17 avatar davidak avatar fanningert avatar jnaskali avatar hubertbanas avatar msfjarvis avatar kidwm avatar alexruf avatar

Watchers

Cesar Andreu avatar  avatar

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.