This is not production ready, only proof of concept. After working with this for awhile, I'd recommend using Openresty for custom nginx.
This repository is made for playing VS Code Remote development and nginx custom module. I encourage you to download VS Code Insider and try this remote development feature. It's really cool ๐
- Install docker
- Start VS Code and setup for remote development
- Pressing
โงโB
or running Run Build Task - Let's hacking ๐
|-- .devcontainer
|-- .devcontainer.json // dev container config
|-- Dockerfile // dev container's dockerfile
|-- .vsocde // vscode config
|-- tasks.json
|-- docker // dockerfile
|-- nginx
|-- nginx.conf // conf loaded by nginx
|-- src
|-- libngx_go_poc.go // go lib to use in C
|-- ngx_http_poc_module.c // glue between nginx and go