VPS Nginx Configuration


Is it actually possible to configure the Nginx server on a VPS?

I have added a configuration file at the location specified in the Dreamhost docs:


I restarted the server but it never came back up, so I’m assuming (a) configuration is not possible, or (b) the configuration file contains unsupported keys/values.

The configuration file, which is aimed at WebSocket based apps, is as follows:

server {
    # Application congifuration
    passenger_app_type node;
    passenger_startup_file server/main.js;
    passenger_restart_dir passenger;

    # WebSocket configuration
    passenger_sticky_sessions on;
    passenger_force_max_concurrent_requests_per_process 0;

Any help would be appreciated.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.