Skip to content

selcukusta/intro-nodejs-caddy-web-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serving static and NodeJS application with Caddy Server

Caddy is the HTTP/2 web server with automatic HTTPS. For more details; Caddy Offical Web Site

Follow the white rabbit:

  • Build your image

    docker build -t selcukusta/caddy-sample:1.0.0

  • Run your container

    docker container run --name sample -d -p 8080:80 -p 8081:81 selcukusta/caddy-sample:1.0.0

  • Check static web site output

    curl localhost:8080 > <h1>Merhaba Dünya!</h1>

  • Check nodeJS application output

    curl localhost:8081 > [RSS OUTPUT]

About

Serving static and NodeJS application with Caddy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published