25 lines
686 B
Nginx Configuration File
25 lines
686 B
Nginx Configuration File
server
|
|
{
|
|
listen 127.0.0.1:4002;
|
|
server_name notificationproxy;
|
|
client_max_body_size 0;
|
|
|
|
access_log /var/log/nginx/notification-access.log;
|
|
error_log /var/log/nginx/notification-error.log;
|
|
|
|
root /usr/share/vnc-notification-proxy/;
|
|
index index.html index.htm;
|
|
|
|
# Turn on Passenger
|
|
passenger_enabled on;
|
|
#passenger_min_instances 5;
|
|
#passenger_max_requests 3000;
|
|
# Tell Passenger that your app is a Node.js app
|
|
passenger_app_type node;
|
|
passenger_sticky_sessions on;
|
|
passenger_app_root /usr/share/vnc-notification-proxy;
|
|
passenger_env_var NODE_ENV development;
|
|
passenger_startup_file app/app.js;
|
|
|
|
}
|