server {
listen 80;
server_name www.yourhost.com;
root /somewhere/public; # <--- be sure to point to 'public'!
passenger_enabled on;
autoindex on; # Show directory listings
}
This is an example nginx configuration.
Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️