config/nginx_vhost.conf in relevance-castronaut-0.5.3 vs config/nginx_vhost.conf in relevance-castronaut-0.5.4

- old
+ new

@@ -1,24 +1,17 @@ -# If you are using thin with sockets upstream castronaut { - server unix:/tmp/castronaut.0.sock; + server 127.0.0.1:4567; } -# Uncomment if you are not using sockets -# upstream castronaut { -# server 127.0.0.1:4567; -# } - server { listen 80; - server_name myapp.com; + # server_name cas.example.com; location / { proxy_pass http://castronaut; proxy_redirect off; proxy_set_header Host $host; } - root /path/to/castronaut/; access_log /var/log/nginx/castronaut/access.log; error_log /var/log/nginx/castronaut/error.log; } \ No newline at end of file