GithubHelp home page GithubHelp logo

daggerok / nginx-proxy-pass-gateway-example Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 56 KB

Yet another nginx reverse proxy gateway example

Kotlin 94.77% Dockerfile 5.23%
nginx nginx-proxy nginx-proxy-pass nginx-reverse-proxy nginx-reverseproxy api-gateway ingress

nginx-proxy-pass-gateway-example's Introduction

nginx (mode proxy_pass) edge gateway  CI

Yet another nginx reverse proxy gateway example

build backing-services

after 2.3.x

./mvnw -f backing-services clean package spring-boot:build-image

see https://spring.io/blog/2020/01/27/creating-docker-images-with-spring-boot-2-3-0-m1

before 2.3.x

./mvnw -f backing-services clean package com.google.cloud.tools:jib-maven-plugin:dockerBuild -Dimage=backing-services:0.0.1-SNAPSHOT

build nginx-proxy-pass-gateway

docker build -t nginx-proxy-pass-gateway:0.0.1-SNAPSHOT nginx-proxy-pass-gateway

run all in docker and expose app behind nginx reverse-proxy

docker network rm     apps-dot-net || echo ''
docker network create apps-dot-net

docker run -d --rm --net apps-dot-net --name backing-services backing-services:0.0.1-SNAPSHOT
docker run -d --rm --net apps-dot-net -p 80:80 nginx-proxy-pass-gateway:0.0.1-SNAPSHOT

test

just open http://127.0.0.1/

resources

nginx-proxy-pass-gateway-example's People

Contributors

daggerok avatar

Watchers

 avatar  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.