Questions tagged [meteor]

Meteor is an open-source, perl based HTTP server

Meteor is designed to offer continuous data streaming (via Javascript) to avoid pageloads. Essentially, it is two servers in one: One that handles page loads, and another for page events.

36 questions
22
votes
4 answers

map directive is not allowed here

I am following this tutorial https://medium.com/startup-founder-panel/deploying-a-meteor-app-with-nginx-from-scratch-1332b32e99a5 When I do sudo nginx -t I get nginx: [emerg] "map" directive is not allowed here in…
Hayk Safaryan
  • 343
  • 2
  • 3
  • 10
4
votes
1 answer

Nginx ip_hash does not load-balance connections to meteor backend

I cannot get nginx to load balance internal connections with ip_hash enabled. I need sticky sessions as I use meteor in the backend with sockets but all requests always hit the same backend. The nginx access log file shows the following IP…
user263367
  • 78
  • 1
  • 5
3
votes
0 answers

Docker: meteor build really slow

Within the docker ubuntu:latest image we installed meteor by calling curl https:://install.meteor.com | sh If we want to build a project inside this docker image it takes unusually long compared to a build done directly on the same machine outside…
user1255102
  • 171
  • 1
  • 1
  • 4
2
votes
1 answer

Nginx location blocks breaking Meteor with reverse proxy

I have two servers: (A) Reverse Nginx proxy, which routes requests internally or to B (B) Meteor deployment using meteor-up version 1.2.11 (Nginx inside Docker) I have two upstream destinations, one on each server: upstream remote-app { server…
Micah Alcorn
  • 123
  • 6
2
votes
1 answer

Ran out of inodes because of something happening in the meteor packages folder

I'm running meteor in a centos server (not production) where I've installed meteor, this meteor app rebuilds everytime I pull the code from git. The server ran out of inodes and I've realised the problem is inside the /root/.meteor/packages/ folder.…
w3jimmy
  • 143
  • 5
2
votes
3 answers

Configure Meteor in a server without websocket support

I was asked to test a meteor (js) website in a server without websockets support, how can I achieve this? How can I really know that a server is not capable of using websockets?
w3jimmy
  • 143
  • 5
2
votes
1 answer

EC2 retirement - Meteor / MongoDB

I am hosting my Meteor Application on an Amazon EC2 instance. Today I got a mail that my instance is scheduled for retirement until the end of month. I don't have any experience with that and what are the best ways to handle the situation. My root…
Bernd Loigge
  • 121
  • 2
2
votes
1 answer

NginX rewrites and absolute resource paths

On my domain, I have a subdomain for Meteor applications, say http://meteor.example.com/ Under this, I would like to put individual applicaions, with an URI for each. Say the meteor application Chat should have this…
Suppen
  • 153
  • 1
  • 7
1
vote
0 answers

Meteor app 403 forbidden

I have a meteor app which runs locally but on my linux ubuntu with nginx and passenger webserver it gives a 403 error. I have changed the permission for the meteor and followed this simple guide found on this link metoer setup on ububtu 14.04
Sithelo Ngwenya
  • 141
  • 1
  • 4
1
vote
1 answer

Redirection to subdomain URL while preserving original URL and serving files from subdomain URL

I want to go to www.example.com and be redirected to subdomain.example.com/homepage without the url changing from www.example.com. The catch being than my css and js is hosted at subdomain.example.com. I'm struggling with the last part. So far I…
jackkav
  • 111
  • 1
1
vote
1 answer

Load Balancer and Proxy for Meteor not passing to 127.0.0.1 - Too Many Redirects?

I have the following setup, but see 302 Moved Temporarily when I curl the load balancer. In a browser it reports Too Many Redirects: 1 load balancer with SSL 2 web servers I request https://www.domain.com and I get back a 302 with the same URL in…
Daniel
  • 121
  • 6
1
vote
1 answer

how to set nginx index

Here is a service http://example.com based on port 4000 service, I can visit http://example.com/index.html now. When I visit http://example.com, I want it visit index.html too. Here is my nginx settings: map $http_upgrade $connection_upgrade { …
zunkun
  • 13
  • 2
1
vote
1 answer

Deploying multiple apps on a single server with Phusion Passenger

I am currently running a simple Meteor.js application on a server using Phusion Passenger + Nginx. What I would like to do is to configure it so that I have one main app on www.example.com and additional apps on www.example.com/app1,…
bjrnt
  • 111
  • 3
1
vote
1 answer

Build meteor app in custom GitLab hook

How do I build a meteor app (do 'meteor build .') in a GitLab custom hook? The custom hook is run by the user git who does not seem to have any possibility to run meteor build. Therefore I want to change the user in the script to someone who is…
user1255102
  • 171
  • 1
  • 1
  • 4
1
vote
1 answer

Different enviroment variables depending on the subdomain

Is it possible with NGINX to pick different enviroment variables depending on the subdomain? And if yes how can I do that? Background: The environment variables link to a certain Mongo DB instance and I´d like to use multiple mongo DBs depending on…
Jim Smith
  • 11
  • 1
1
2 3