Skip to content

Instantly share code, notes, and snippets.

@FlorianRappl

FlorianRappl/ssr-nginx.nginx Secret

Created Nov 18, 2019
Embed
What would you like to do?
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
You can’t perform that action at this time.