#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
#passenger_root /home/dev/.rvm/gems/ruby-2.2.3/gems/passenger-5.0.26;
#passenger_ruby /home/dev/.rvm/gems/ruby-2.2.3/wrappers/ruby;
passenger_root /home/dev/.rvm/gems/ruby-2.2.0/gems/passenger-5.0.26;
passenger_ruby /home/dev/.rvm/gems/ruby-2.2.0/wrappers/ruby;
include mime.types;
default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
#gzip on;
server {
listen 80;
server_name localhost;
# Tell Nginx and Passenger where your app's 'public' directory is
root ~/project/development/current/public;
# Turn on Passenger
passenger_enabled on;
rails_env development;
#passenger_ruby /home/dev/.rvm/gems/ruby-2.2.3/wrappers/ruby;
}
# another virtual host using mix of IP-, name-, and port-based configuration
#
#server {
# listen 8000;
# listen somename:8080;
# server_name somename alias another.alias;
# location / {
# root html;
# index index.html index.htm;
# }
#}
# HTTPS server
#
#server {
# listen 443 ssl;
# server_name localhost;
# ssl_certificate cert.pem;
# ssl_certificate_key cert.key;
# ssl_session_cache shared:SSL:1m;
# ssl_session_timeout 5m;
# ssl_ciphers HIGH:!aNULL:!MD5;
# ssl_prefer_server_ciphers on;
# location / {
# root html;
# index index.html index.htm;
# }
#}
}
I3VzZXIgIG5vYm9keTsKd29ya2VyX3Byb2Nlc3NlcyAgMTsKCiNlcnJvcl9sb2cgIGxvZ3MvZXJyb3IubG9nOwojZXJyb3JfbG9nICBsb2dzL2Vycm9yLmxvZyAgbm90aWNlOwojZXJyb3JfbG9nICBsb2dzL2Vycm9yLmxvZyAgaW5mbzsKCiNwaWQgICAgICAgIGxvZ3MvbmdpbngucGlkOwoKCmV2ZW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ICMgICAgc3NsX3Nlc3Npb25fY2FjaGUgICAgc2hhcmVkOlNTTDoxbTsKICAgICMgICAgc3NsX3Nlc3Npb25fdGltZW91dCAgNW07CgogICAgIyAgICBzc2xfY2lwaGVycyAgSElHSDohYU5VTEw6IU1ENTsKICAgICMgICAgc3NsX3ByZWZlcl9zZXJ2ZXJfY2lwaGVycyAgb247CgogICAgIyAgICBsb2NhdGlvbiAvIHsKICAgICMgICAgICAgIHJvb3QgICBodG1sOwogICAgIyAgICAgICAgaW5kZXggIGluZGV4Lmh0bWwgaW5kZXguaHRtOwogICAgIyAgICB9CiAgICAjfQoKfQo=
Main.java:1: error: illegal character: '#'
#user nobody;
^
Main.java:1: error: class, interface, or enum expected
#user nobody;
^
Main.java:2: error: class, interface, or enum expected
worker_processes 1;
^
Main.java:4: error: illegal character: '#'
#error_log logs/error.log;
^
Main.java:4: error: class, interface, or enum expected
#error_log logs/error.log;
^
Main.java:5: error: illegal character: '#'
#error_log logs/error.log notice;
^
Main.java:5: error: class, interface, or enum expected
#error_log logs/error.log notice;
^
Main.java:6: error: illegal character: '#'
#error_log logs/error.log info;
^
Main.java:6: error: class, interface, or enum expected
#error_log logs/error.log info;
^
Main.java:8: error: illegal character: '#'
#pid logs/nginx.pid;
^
Main.java:8: error: class, interface, or enum expected
#pid logs/nginx.pid;
^
Main.java:11: error: class, interface, or enum expected
events {
^
Main.java:13: error: class, interface, or enum expected
}
^
Main.java:17: error: illegal character: '#'
#passenger_root /home/dev/.rvm/gems/ruby-2.2.3/gems/passenger-5.0.26;
^
Main.java:18: error: illegal character: '#'
#passenger_ruby /home/dev/.rvm/gems/ruby-2.2.3/wrappers/ruby;
^
Main.java:18: error: class, interface, or enum expected
#passenger_ruby /home/dev/.rvm/gems/ruby-2.2.3/wrappers/ruby;
^
Main.java:20: error: class, interface, or enum expected
passenger_root /home/dev/.rvm/gems/ruby-2.2.0/gems/passenger-5.0.26;
^
Main.java:21: error: class, interface, or enum expected
passenger_ruby /home/dev/.rvm/gems/ruby-2.2.0/wrappers/ruby;
^
Main.java:24: error: class, interface, or enum expected
include mime.types;
^
Main.java:25: error: class, interface, or enum expected
default_type application/octet-stream;
^
Main.java:27: error: illegal character: '#'
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
^
Main.java:27: error: unclosed character literal
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
^
Main.java:27: error: illegal line end in character literal
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
^
Main.java:28: error: illegal character: '#'
# '$status $body_bytes_sent "$http_referer" '
^
Main.java:28: error: unclosed character literal
# '$status $body_bytes_sent "$http_referer" '
^
Main.java:28: error: illegal line end in character literal
# '$status $body_bytes_sent "$http_referer" '
^
Main.java:29: error: illegal character: '#'
# '"$http_user_agent" "$http_x_forwarded_for"';
^
Main.java:29: error: unclosed character literal
# '"$http_user_agent" "$http_x_forwarded_for"';
^
Main.java:29: error: unclosed string literal
# '"$http_user_agent" "$http_x_forwarded_for"';
^
Main.java:31: error: illegal character: '#'
#access_log logs/access.log main;
^
Main.java:33: error: class, interface, or enum expected
sendfile on;
^
Main.java:34: error: illegal character: '#'
#tcp_nopush on;
^
Main.java:34: error: class, interface, or enum expected
#tcp_nopush on;
^
Main.java:36: error: illegal character: '#'
#keepalive_timeout 0;
^
Main.java:36: error: class, interface, or enum expected
#keepalive_timeout 0;
^
Main.java:37: error: class, interface, or enum expected
keepalive_timeout 65;
^
Main.java:39: error: illegal character: '#'
#gzip on;
^
Main.java:39: error: class, interface, or enum expected
#gzip on;
^
Main.java:41: error: class, interface, or enum expected
server {
^
Main.java:43: error: class, interface, or enum expected
server_name localhost;
^
Main.java:45: error: illegal character: '#'
# Tell Nginx and Passenger where your app's 'public' directory is
^
Main.java:45: error: class, interface, or enum expected
# Tell Nginx and Passenger where your app's 'public' directory is
^
Main.java:45: error: unclosed character literal
# Tell Nginx and Passenger where your app's 'public' directory is
^
Main.java:45: error: unclosed character literal
# Tell Nginx and Passenger where your app's 'public' directory is
^
Main.java:45: error: unclosed character literal
# Tell Nginx and Passenger where your app's 'public' directory is
^
Main.java:46: error: class, interface, or enum expected
root ~/project/development/current/public;
^
Main.java:48: error: illegal character: '#'
# Turn on Passenger
^
Main.java:48: error: class, interface, or enum expected
# Turn on Passenger
^
Main.java:50: error: class, interface, or enum expected
rails_env development;
^
Main.java:51: error: illegal character: '#'
#passenger_ruby /home/dev/.rvm/gems/ruby-2.2.3/wrappers/ruby;
^
Main.java:51: error: class, interface, or enum expected
#passenger_ruby /home/dev/.rvm/gems/ruby-2.2.3/wrappers/ruby;
^
Main.java:52: error: class, interface, or enum expected
}
^
Main.java:54: error: illegal character: '#'
# another virtual host using mix of IP-, name-, and port-based configuration
^
Main.java:55: error: illegal character: '#'
#
^
Main.java:56: error: illegal character: '#'
#server {
^
Main.java:57: error: illegal character: '#'
# listen 8000;
^
Main.java:58: error: illegal character: '#'
# listen somename:8080;
^
Main.java:58: error: class, interface, or enum expected
# listen somename:8080;
^
Main.java:59: error: illegal character: '#'
# server_name somename alias another.alias;
^
Main.java:59: error: class, interface, or enum expected
# server_name somename alias another.alias;
^
Main.java:61: error: illegal character: '#'
# location / {
^
Main.java:61: error: class, interface, or enum expected
# location / {
^
Main.java:62: error: illegal character: '#'
# root html;
^
Main.java:63: error: illegal character: '#'
# index index.html index.htm;
^
Main.java:63: error: class, interface, or enum expected
# index index.html index.htm;
^
Main.java:64: error: illegal character: '#'
# }
^
Main.java:65: error: illegal character: '#'
#}
^
Main.java:68: error: illegal character: '#'
# HTTPS server
^
Main.java:69: error: illegal character: '#'
#
^
Main.java:70: error: illegal character: '#'
#server {
^
Main.java:71: error: illegal character: '#'
# listen 443 ssl;
^
Main.java:72: error: illegal character: '#'
# server_name localhost;
^
Main.java:72: error: class, interface, or enum expected
# server_name localhost;
^
Main.java:74: error: illegal character: '#'
# ssl_certificate cert.pem;
^
Main.java:74: error: class, interface, or enum expected
# ssl_certificate cert.pem;
^
Main.java:75: error: illegal character: '#'
# ssl_certificate_key cert.key;
^
Main.java:75: error: class, interface, or enum expected
# ssl_certificate_key cert.key;
^
Main.java:77: error: illegal character: '#'
# ssl_session_cache shared:SSL:1m;
^
Main.java:77: error: class, interface, or enum expected
# ssl_session_cache shared:SSL:1m;
^
Main.java:78: error: illegal character: '#'
# ssl_session_timeout 5m;
^
Main.java:78: error: class, interface, or enum expected
# ssl_session_timeout 5m;
^
Main.java:80: error: illegal character: '#'
# ssl_ciphers HIGH:!aNULL:!MD5;
^
Main.java:80: error: class, interface, or enum expected
# ssl_ciphers HIGH:!aNULL:!MD5;
^
Main.java:81: error: illegal character: '#'
# ssl_prefer_server_ciphers on;
^
Main.java:81: error: class, interface, or enum expected
# ssl_prefer_server_ciphers on;
^
Main.java:83: error: illegal character: '#'
# location / {
^
Main.java:83: error: class, interface, or enum expected
# location / {
^
Main.java:84: error: illegal character: '#'
# root html;
^
Main.java:85: error: illegal character: '#'
# index index.html index.htm;
^
Main.java:85: error: class, interface, or enum expected
# index index.html index.htm;
^
Main.java:86: error: illegal character: '#'
# }
^
Main.java:87: error: illegal character: '#'
#}
^
Main.java:89: error: class, interface, or enum expected
}
^
93 errors