Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Apache バーチャルホストの設定
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "/www/example/app_nameA/public"
ServerName "site_A"
RailsMaxPoolSize 7
RailsEnv production
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "/www/example/app_nameB/public"
ServerName "site_B"
RailsMaxPoolSize 7
RailsEnv production
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment