Deployed Meteor(1.8) App returns Error 403


#1

Hello all,

I have a problem with my deployed meteor app. The Start page is not shown, instead it always returns Error 403. The app is deployed on a Debian with the help of nginx + passenger. I have followed this tutorial. Maybe someone has already encountered a similar issue or has an idea :slight_smile:

Thanks for every comment

EDIT: Every information needed will be provided


#2

have you tried accessing it on the running port?


#3

I have no port explicitly configured for Meteor or Node.
My modified config:

server {
    listen 443;
    server_name my-domain.com;

    # Tell Nginx and Passenger where your app's 'public' directory is
    root /var/www/app/bundle;

    # Turn on Passenger
    passenger_enabled on;
    # Tell Passenger that your app is a Meteor app
    passenger_app_type node;
    passenger_startup_file main.js;

    # Tell your app where MongoDB is
    passenger_env_var MONGO_URL mongodb://localhost:27017/appdb;
    # Tell your app what its root URL is
    passenger_env_var ROOT_URL https:// my-domain.com;
}