fry
74ee26c8d6
Co-authored-by: David Frymoyer <david.frymoyer@gmail.com> Reviewed-on: #3 Co-authored-by: fry <david.frymoyer@gmail.com> Co-committed-by: fry <david.frymoyer@gmail.com>
17 lines
341 B
Nginx Configuration File
17 lines
341 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name steve;
|
|
|
|
location / {
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_pass http://ui:3000;
|
|
}
|
|
|
|
location /api/ {
|
|
rewrite ^/api(/.*)$ $1 break;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_pass http://api:1379;
|
|
}
|
|
} |