meteorhacks / mup-frontend-server

Frontend Server for Meteor Up
37 stars 35 forks source link

Custom nginx.conf #9

Open thomasf1 opened 8 years ago

thomasf1 commented 8 years ago

There are a couple of issues/requests regarding the nginx.conf... Would it be possible to use a custom nginx.conf if it´s in the mupx directory? That should be a rather simple addition in the copy-files.sh that could help folks wo have nginx issues :)

arunoda commented 8 years ago

Let's see how to do it. May be you can mount it manually. BTW: what are the issues you are facing ? May be we can apply them just to the default one. On 2015 දෙසැ 17, බ්‍රහස් at ප.ව. 9.47 Thomas notifications@github.com wrote:

There are a couple of issues/requests regarding the nginx.conf... Would it be possible to use a custom nginx.conf if it´s in the mupx directory? That should be a rather simple addition in the copy-files.sh that could help folks wo have nginx issues :)

— Reply to this email directly or view it on GitHub https://github.com/meteorhacks/mup-frontend-server/issues/9.

thomasf1 commented 8 years ago

Well, with me it´s proxying some files (long story, for iOS some assets need to come from the same server instead of an CDN), But it seems some of the other issues here are also relating the Nginx.conf (issue #2 #3 #4 might would have profited from it in addition to some mupx issues).

How about checking on a mupx deploy or reconfig if there´s a Nginx.conf in the project bundle and using that instead of the default?

thomasf1 commented 8 years ago

That surely also would help with your own development / people contributing... The more people play with settings, the more they can experiment and find new ways to make mup better :)

mikkhait commented 8 years ago

Did you guys made any progress on this?

thomasf1 commented 8 years ago

@mikkhait: No, none that I'm aware of...

AshBT commented 8 years ago

I have the same problem (interacting with the same server). Anything happening?

@thomasf1 , did you solve the issue?

humbertocruz commented 8 years ago

hello, as the ssl port on mup.json a extra option "ssl-server-name" would allow to configure multiple meteor apps on the same server ?

sferoze commented 8 years ago

if we could configure nginx.conf file. Does this mean it would allow us to host multiple meteor apps on one server?

I am trying to figure out how that would be possible with nginx, and mup

thomasf1 commented 8 years ago

@AshBT I´ve done a ugly fix for the time being... changing the file after deploying via ssh.

loffelmacher commented 8 years ago

i'm about to fork this and mupx as well, because the nginx.conf this ships with won't allow file uploads beyond a certain size, constrained by the client_max_body_size param. So this would be a great feature.

thomasf1 commented 8 years ago

@loffelmacher Did you fork it? I´m kinda fed up with manual changes as well and would help...

loffelmacher commented 8 years ago

@thomasf1 i did not. however i eventually figured out what i would do in order to fork it. i'd cloned down the old mup repo and could not find what i was looking for. then a week later i realized there was a mupx branch in that repo. that's where you'd want to begin looking. however, it appears that mupx is in the midst of some updates, this latest repo is over here https://github.com/kadirahq/meteor-up. hope this helps.