Skip to content

Instantly share code, notes, and snippets.

@viniciuspaes
Created March 24, 2023 14:13
<IfModule mod_ssl.c>
<VirtualHost *:443>
Protocols h2 http/1.1
ServerName www.website1.com.br
ServerAdmin postmaster@website1.com.br
DocumentRoot /var/www/html/website1.com.br
<Directory /var/www/html/website1.com.br>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
<FilesMatch \.php$>
SetHandler "proxy:unix:/run/php/php8.1-fpm-website1.sock|fcgi://localhost"
</FilesMatch>
ErrorLog ${APACHE_LOG_DIR}/website1.com.br.error.log
CustomLog ${APACHE_LOG_DIR}/website1.com.br.access.log combined
</VirtualHost>
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment