Created
March 24, 2023 14:13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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