Questions tagged [meteor]
Meteor is an open-source, perl based HTTP server
36
questions
25
votes
4
answers
51k
views
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 ...
4
votes
1
answer
9k
views
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 ...
3
votes
0
answers
418
views
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 ...
2
votes
1
answer
3k
views
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 ...
2
votes
1
answer
463
views
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 ...
2
votes
1
answer
203
views
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 ...
2
votes
3
answers
1k
views
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?
2
votes
1
answer
145
views
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 ...
1
vote
2
answers
692
views
Deploying N amount of meteor apps on a single server
I'm trying to (sort of) mimic the server setup of the official Meteor deploy infrastructure (the *.meteor.com subdomain deployments).
If it's only a handful of known meteor apps, I can just run the ...
1
vote
2
answers
1k
views
Serving Meteor on main domain and Apache on subdomain independently
I'm running a Meteor server on my Ubuntu server. But problems arise when I try to have Apache serving a subdomain on the same server.
main.domain.com -> Meteor
sub.domain.com -> Apache
Meteor is ...
1
vote
1
answer
300
views
Meteor: How do I run the documentation server and my app at the same time, if both run their own mongodb instance on the same port?
I'm trying to run the meteor documentation server and my app at the same time, but I can only run one at a time, out of the box. They both run their own instance of mongodb and so the ports colide...
1
vote
1
answer
4k
views
route port 3000 to apache2 alias
I have a meteor application running on port 3000. I can successfully connect to the program with www.myurl.com:3000, but would rather connect to it via www.myurl.com/myappname.
I started with the ...
1
vote
1
answer
1k
views
nginx proxy folder to url
I have some sites I want to redirect with nginx:
domain.com:1180 -> test.domain.com (static site)
domain.com:1280 -> test.domain.com/promo (meteor.js website)
On domain.com I have an nginx ...
1
vote
1
answer
880
views
Proper upstart config for meteor?
I'm hoping to find out how to tell upstart that meteor will fork more than twice?
I followed their instructions at http://upstart.ubuntu.com/cookbook/#how-to-establish-fork-count to count the forks ...
1
vote
0
answers
1k
views
Adding Mongo WiredTiger node to MMAPv1 replica set leads to "No keys found for HMAC"
I have a 3-node Replica Set (primary + 2 secondaries). They are all running Mongo 4.0.18 using the MMAPv1 engine. I am trying to switch the replica set over to use WiredTiger.
I read through the ...
1
vote
0
answers
259
views
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 ...
1
vote
1
answer
188
views
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....
1
vote
1
answer
587
views
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....
1
vote
1
answer
57
views
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 ...
1
vote
1
answer
2k
views
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 ...
1
vote
1
answer
763
views
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 ...
0
votes
1
answer
861
views
Meteor: Docker container error after SSL setup in mup
After I recieved an error of: *3940 peer closed connection in SSL handshake while SSL handshaking to upstream. I figured it was because I setup nginx for ssl(letsencrypt) but didn't have it set in the ...
0
votes
1
answer
5k
views
run Apache and node.js in subfolder
I would like to run a meteor.js app in a subfolder (/home/www/public/v1) of a domain (/home/www/public) served by an Apache (2.4.7) server.
I have set up a virtualhost which listens to port 80, and ...
0
votes
1
answer
2k
views
How to debug where an SSL connection is getting lost?
The big picture is I'm trying to setup an SSL connection for a subdomain, if I go to currently if I go to the non-secure url the website works, but if requeset https://sub.domain.com there is no ...
0
votes
1
answer
65
views
How to make Titra docker image answer https?
I've got a test installation of Titra on a local system, and I've got it answering http on port 80 with this docker-compose file:
version: "2.0"
services:
titra:
image: kromit/titra
...
0
votes
1
answer
97
views
Nginx: Proxy redirect to TEST env
I am trying to write an nginx.conf which will redirect to port 3001 where meteor.js TEST env is of my EC2 instance. If user types "xxx.xxxx.com/test". Redirection isn't working and it searches pages ...
0
votes
1
answer
323
views
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 ...
0
votes
1
answer
1k
views
why can't I view my app on my aws ec2 instance? deployed with meteor up
I'm trying to get my meteor app up onto an aws ec2 instance using meteor up.
This worked for me previously, following this tutorial.
I've successfully run mup setup and mup deploy, but when I try to ...
0
votes
2
answers
255
views
How can I secure an insecure Meteor by using Nginx?
I have an insecure Meteor running on AWS. For those not familiar with Meteor, that means I am using the "insecure" package, which trades security for rapid prototyping.
I only need our development ...
0
votes
1
answer
924
views
deploying meteor on my own domain (ubuntu)
I want to deploy my meteor app on my Ubuntu server,
I used meteor.sh and everything went successfully, But i simply can't launch my app from the browser
I'm putting my ip address and getting a 404
...
0
votes
1
answer
700
views
Trying to install Meteor on CentOS
I have a brand new install of CentOS 6 64bit. I've been going through the installation process and when I get to #3 to start it up it looks like it's started.
Trying to do #4, I open a new PuTTY ...
0
votes
0
answers
141
views
Mystery display -- Missing portions of server feedback in Windows PowerShell
What's up with this? I'm trying to use Windows10 PowerShell to interact with a Meteor application. I'm having a heck of a time displaying feedback from the server thru the PowerShell. Here's a ...
0
votes
1
answer
900
views
Send SSL requests to localhost:port using apache
I'm running a meteor application, due to restrictions I must use Apache as the webserver. There are also other existing websites hosted on the same domain under different locations e.g. https://...
0
votes
0
answers
156
views
Meteor JS issues on failover (Delay in reconnection)
Our meteor deployment contains two meteor nodes, behind a network load balancer (Google cloud NLB which simply passes on requests to a target pool of 2 Ubuntu 14.04 meteor instances).
Each node has a ...
0
votes
1
answer
734
views
Install meteor server in debian (lenny)
I wonder how can I install this in a lenny machine. Well, this site has instructions on how to do this, but in step 3 I can't do cd /usr/local/meteor because this folder doesn't exist! How I can ...
-1
votes
1
answer
1k
views
Sending many record on client startup. Nginx 502 bad gateway too many open files
I have nodejs app that sending > 800 mongodb documents on client startup (execute only when a client access my app for the first time).
Nginx as reverse proxy in front of node server.
App server ...