All Projects → caddyserver → Nginx Adapter

caddyserver / Nginx Adapter

Licence: apache-2.0
Run Caddy with your NGINX config

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Nginx Adapter

Integrated Examples
以Xray或v2ray为主、caddy或nginx为辅,结合trojan或trojan-go及naiveproxy等打造科学上网的优化配置及最优组合示例,分享给大家食用及备份。
Stars: ✭ 249 (+91.54%)
Mutual labels:  nginx, caddy
Httperrorpages
⏩ Simple HTTP Error Page Generator
Stars: ✭ 772 (+493.85%)
Mutual labels:  nginx, caddy
Docker Lemp
🐳 Docker 快速搭建 LEMP 开发环境
Stars: ✭ 87 (-33.08%)
Mutual labels:  nginx, caddy
Nginx Vod Module Docker
Docker image for nginx with Kaltura's VoD module used by The New York Times
Stars: ✭ 121 (-6.92%)
Mutual labels:  nginx
Nginx Builder
A tool to build deb or rpm package of required Nginx version from the source code, with the ability to connect third-party modules. Nginx parameters are set in the yaml configuration file.
Stars: ✭ 123 (-5.38%)
Mutual labels:  nginx
Hyperfastcgi
Performant nginx to mono fastcgi server
Stars: ✭ 125 (-3.85%)
Mutual labels:  nginx
Rrinlog
Replacing Elasticsearch with Rust and SQLite
Stars: ✭ 129 (-0.77%)
Mutual labels:  nginx
Dockerized Flask
Dockerized web app using NGINX, Flask and PostgreSQL
Stars: ✭ 119 (-8.46%)
Mutual labels:  nginx
Dailyfresh
Django-天天生鲜电商学习项目
Stars: ✭ 127 (-2.31%)
Mutual labels:  nginx
Vestacp
Dockerized Vesta Control Panel aka vestacp
Stars: ✭ 124 (-4.62%)
Mutual labels:  nginx
Django Microservices
UNMAINTAINED
Stars: ✭ 124 (-4.62%)
Mutual labels:  nginx
Library
A microservice project using .NET Core 2.0, DDD, CQRS, Event Sourcing, Redis and RabbitMQ
Stars: ✭ 122 (-6.15%)
Mutual labels:  nginx
Config Collections For Nginx
A Collection of Functioning Nginx Configurations
Stars: ✭ 127 (-2.31%)
Mutual labels:  nginx
Nginx Php Fpm
Nginx + PHP-FPM 8.0.x / 7.4.x / 7.3.x / 7.2.x / 7.1.x / 7.0.x + Composer built on Debian 10 (Buster) image
Stars: ✭ 121 (-6.92%)
Mutual labels:  nginx
Light Push
轻量级推送服务和实时在线监控平台,同时用于开发即时通信系统,基于node的socket.io,支持web、android、ios客户端,支持移动端离线推送,可进行分布式部署
Stars: ✭ 128 (-1.54%)
Mutual labels:  nginx
Patch
Something could be public patches
Stars: ✭ 120 (-7.69%)
Mutual labels:  nginx
Caddy Auth Jwt
JWT Authorization Plugin for Caddy v2
Stars: ✭ 127 (-2.31%)
Mutual labels:  caddy
Magento 2 Server Installation
Magento 2 Server Installation - How to Install Magento 2
Stars: ✭ 123 (-5.38%)
Mutual labels:  nginx
Docker Loadbalancer
Stars: ✭ 123 (-5.38%)
Mutual labels:  nginx
Tengine
A distribution of Nginx with some advanced features
Stars: ✭ 11,231 (+8539.23%)
Mutual labels:  nginx

Caddy NGINX Config Adapter

This is a config adapter for Caddy which converts NGINX config files into Caddy's native format.

This project is not complete, and we are asking the community to help finish its development. Due to resource constraints, we are unable to do all the development on our own at this time. However, we hope you will pick it up and collaborate on it together as a community. We'll be happy to coordinate efforts from the community. Start by opening issues and pull requests, then reviewing pull requests and testing changes!

Currently supported directives per context:

  • main:
    • http
  • http:
    • server
    • index
    • upstream
  • server:
    • listen
    • server_name
    • location
    • root
    • index
    • access_log
    • rewrite
    • if
  • if:
    • break
    • return
    • rewrite
    • set
  • upstream:
    • server
    • hash
    • ip_hash
    • keepalive
    • keepalive_requests
    • keepalive_timeout
    • ntlm
    • least_conn
    • random
  • location:
    • location
    • if
    • root
    • add_header
    • deny
    • allow
    • rewrite
    • fastcgi_pass
    • proxy_pass
    • expires
    • return
  • if (in location):
    • root
    • gzip
    • add_header
    • expires
    • proxy_pass

Thank you, and we hope you have fun with it!

Install

First, the xcaddy command:

$ go get -u github.com/caddyserver/xcaddy/cmd/xcaddy

Then build Caddy with this Go module plugged in. For example:

$ xcaddy build --with github.com/caddyserver/nginx-adapter

Use

Using this config adapter is the same as all the other config adapters.

You can also run Caddy directly with an nginx config using caddy run|start --config nginx.conf --adapter nginx (however, we do not recommend this until the config adapter is completed, since unfinished directives may just result in warnings and not errors).

Disclaimer

This project is not affiliated with F5 Networks or NGINX, Inc. NGINX is a registered trademark of NGINX, Inc.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].