zodern / meteor-up

Production Quality Meteor Deployment to Anywhere
http://meteor-up.com/
MIT License
1.27k stars 280 forks source link

Customized nginx config - validation errors #1115

Closed mmueller1589 closed 4 years ago

mmueller1589 commented 4 years ago

I created a file containing

events {
    worker_connections **1024**;
}

and added to the mup config:

proxy: {
  shared: {
    nginxConfig: './path/to/config',
  }
}

Unfortunately I get this validation errors:

2 Validation Errors
  - "proxy.domains" is required
  - "proxy" app.env.PORT is ignored when using the reverse proxy

Read the docs and view example configs at
    http://meteor-up.com/docs

The shared settings affect all apps using this reverse proxy.

Started TaskList: Configuring Proxy's Shared Settings

Started TaskList: Start proxy
mmueller1589 commented 4 years ago

Any ideas?

zodern commented 4 years ago

When using the proxy, you must also provide a list of domains the app will be available on: http://meteor-up.com/docs.html#reverse-proxy.