mirror of
https://github.com/jambonz/jambonz-infrastructure.git
synced 2026-11-08 21:03:34 +00:00
12 lines
407 B
Plaintext
12 lines
407 B
Plaintext
server {
|
|
listen 80;
|
|
server_name api.your_domain.com; # enter the app sub-domain that you setup in 11
|
|
location / {
|
|
proxy_pass http://localhost:3000; # point the reverse proxy to the api server on port 3000
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection 'upgrade';
|
|
proxy_set_header Host $host;
|
|
proxy_cache_bypass $http_upgrade;
|
|
}
|
|
} |