mirror of
https://github.com/crivion/laranode.git
synced 2026-06-02 12:14:12 +08:00
21 lines
534 B
Plaintext
21 lines
534 B
Plaintext
<VirtualHost *:80>
|
|
ServerName {domain}
|
|
ServerAlias www.{domain}
|
|
|
|
DocumentRoot /home/{user}/domains/{domain}{document_root}
|
|
|
|
ErrorLog /home/{user}/logs/apache-error.log
|
|
CustomLog /home/{user}/logs/apache-access.log combined
|
|
|
|
<FilesMatch \.php$>
|
|
SetHandler "proxy:unix:/run/php/php-fpm-{phpVersion}.{user}.sock|fcgi://localhost"
|
|
</FilesMatch>
|
|
|
|
<Directory /home/{user}/domains/{domain}{document_root}>
|
|
Options Indexes FollowSymLinks
|
|
AllowOverride All
|
|
Require all granted
|
|
</Directory>
|
|
|
|
</VirtualHost>
|