move project Пн 30 ноя 2026 23:43:04 MSK
This commit is contained in:
1 parent
ab8e98ebb0
commit
b8ee1e9bd1
26 files changed
+2139
-3
No files matched your search
@@ -0,0 +1,16 @@
|
||||
<VirtualHost *:80>
|
||||
ServerName mydomain.ru
|
||||
ServerAlias mydomain.ru
|
||||
ServerAdmin admin@mydomain.ru
|
||||
DocumentRoot /var/www/site
|
||||
<Directory /var/www/site>
|
||||
Options -Indexes +FollowSymLinks +MultiViews
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
<FilesMatch \.php$>
|
||||
SetHandler "proxy:fcgi://127.0.0.1:9000"
|
||||
</FilesMatch>
|
||||
ErrorLog ${APACHE_LOG_DIR}/site-error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/site-access.log combined
|
||||
</VirtualHost>
|
||||
@@ -0,0 +1,9 @@
|
||||
<VirtualHost *:8080>
|
||||
ServerName subdomen1.mydomain.ru
|
||||
ServerAlias subdomen1.mydomain.ru
|
||||
DocumentRoot /var/www/subdomen1/
|
||||
RewriteEngine On
|
||||
RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]
|
||||
ErrorLog /var/log/apache2-subdomen1/error.log
|
||||
CustomLog /var/log/apache2-subdomen1/access.log combined
|
||||
</VirtualHost>
|
||||
@@ -0,0 +1,9 @@
|
||||
<VirtualHost *:8080>
|
||||
ServerName subdomen2.mydomain.ru
|
||||
ServerAlias subdomen2.mydomain.ru
|
||||
DocumentRoot /var/www/subdomen2/
|
||||
RewriteEngine On
|
||||
RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]
|
||||
ErrorLog /var/log/apache2-subdomen2/error.log
|
||||
CustomLog /var/log/apache2-subdomen2/access.log combined
|
||||
</VirtualHost>
|
||||
Reference in new issue
Block a user