Skip to content

Instantly share code, notes, and snippets.

@FlorianRappl
Created November 18, 2019 23:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FlorianRappl/d9f44f90fdf1325ef8c362188b1ccf17 to your computer and use it in GitHub Desktop.
Save FlorianRappl/d9f44f90fdf1325ef8c362188b1ccf17 to your computer and use it in GitHub Desktop.
http {
server {
listen 80;
server_name www.example.com;
location /api/ {
proxy_pass http://api-svc:8000/api;
}
location /web/admin {
proxy_pass http://admin-svc:8080/web/admin;
}
location /web/notifications {
proxy_pass http://public-svc:8080/web/notifications;
}
location / {
proxy_pass /;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment