20 lines
461 B
Plaintext
20 lines
461 B
Plaintext
<VirtualHost *:80>
|
|
|
|
ServerName yourdomain.com
|
|
ServerAlias www.yourdomain.com
|
|
ServerAdmin webmaster@localhost
|
|
|
|
DocumentRoot /path/to/deploy_to/current/public
|
|
|
|
# RailsEnv production
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/yourdomain.error.log
|
|
CustomLog ${APACHE_LOG_DIR}/yourdomain.access.log combined
|
|
|
|
<Directory "/path/to/deploy_to/current/public">
|
|
Options FollowSymLinks
|
|
Require all granted
|
|
</Directory>
|
|
|
|
</VirtualHost>
|