Proxy requires shared settings
See original GitHub issueI just tried using reverse-proxy for the first time, with these settings:
proxy: {
domains: 'coauthor2.csail.mit.edu',
ssl: {
crt: '....pem',
key: '....key',
forceSSL: true,
},
},
Here’s the error message I got during mup setup
:
Started TaskList: Start proxy
[coauthor2.csail.mit.edu] - Start proxy
[coauthor2.csail.mit.edu] x Start proxy: FAILED
-----------------------------------STDERR-----------------------------------
config/start.sh: line 7: /opt/mup-nginx-proxy/config/shared-config.sh: No such file or directory
Error response from daemon: No such container: mup-nginx-proxy
Error response from daemon: endpoint mup-nginx-proxy not found
Error response from daemon: No such container: mup-nginx-proxy-letsencrypt
Error response from daemon: endpoint mup-nginx-proxy-nginx-proxy not found
docker: open /opt/mup-nginx-proxy/config/env.list: no such file or directory.
See 'docker run --help'.
The fix was simple: add shared
settings under proxy (and then run mup proxy reconfig-shared
– this doesn’t seem to be implied by mup setup
which was also confusing):
proxy: {
domains: 'coauthor2.csail.mit.edu',
ssl: {
crt: '....pem',
key: '....key',
forceSSL: true,
},
shared: {
clientUploadLimit: '0', // disable upload limit
},
},
I wanted to disable the clientUploadLimit
anyway, so this is fine for my purposes, but maybe you want to avoid crashing when there’s no shared
, as the documentation calls it “Advanced configuration”.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Change proxy settings on Mac - Apple Support
Learn how to enter proxy server settings. To change these settings, choose Apple menu > System Settings, click Network in the sidebar, click...
Read more >Configure device proxy and Internet connection settings
Configure the Microsoft Defender for Endpoint proxy and internet settings to enable communication with the cloud service.
Read more >Specify a proxy server for storage zones
Select the Enable Proxy check box and enter the proxy server Address and Port. Select an Authentication Mode and specify your Windows account ......
Read more >Drive and Sites firewall and proxy settings - Google Support
Drive and Sites firewall and proxy settings. This article is for network administrators. For users on your network to access Google Drive, Google...
Read more >Setting Tekla Structures to work with HTTP proxy that requires ...
Answer: If all the http(s) communication is routed through a http proxy that requires authentication, the following http proxy related settings must be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
for me i ran
# netstat -tulpn | grep :80
to see what’s running on port 80…it was apache2, so i ransudo service stop apache2
…from theremup setup
worked fineThanks, @john-guerra! All the documentation I saw (especially Meteor Up SSL Docs) seemed to want me to run
mup setup
AND THENmup reconfig
. I guess running those in reverse order shook things loose.