implemented multisite
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
cmbabaseball.localhost {
|
||||
root * /var/www/cmbabaseball
|
||||
php_fastcgi cmbabaseball:9000 {
|
||||
root /var/www/html
|
||||
}
|
||||
file_server
|
||||
}
|
||||
|
||||
chihounds.localhost {
|
||||
root * /var/www/chihounds
|
||||
php_fastcgi chihounds:9000 {
|
||||
root /var/www/html
|
||||
}
|
||||
file_server
|
||||
}
|
||||
18
caddy/Caddyfile.localhost
Normal file
18
caddy/Caddyfile.localhost
Normal file
@@ -0,0 +1,18 @@
|
||||
cmbabaseball.localhost {
|
||||
root * /var/www/html
|
||||
@wp path_regexp wp ^/([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)
|
||||
handle @wp {
|
||||
rewrite * {http.regexp.wp.2}
|
||||
}
|
||||
|
||||
|
||||
php_fastcgi wordpress:9000
|
||||
file_server
|
||||
}
|
||||
|
||||
chihounds.localhost {
|
||||
root * /var/www/html
|
||||
|
||||
php_fastcgi wordpress:9000
|
||||
file_server
|
||||
}
|
||||
18
caddy/Caddyfile.production
Normal file
18
caddy/Caddyfile.production
Normal file
@@ -0,0 +1,18 @@
|
||||
cmbabaseball.correa.co {
|
||||
root * /var/www/html
|
||||
@wp path_regexp wp ^/([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)
|
||||
handle @wp {
|
||||
rewrite * {http.regexp.wp.2}
|
||||
}
|
||||
|
||||
|
||||
php_fastcgi wordpress:9000
|
||||
file_server
|
||||
}
|
||||
|
||||
chihounds.correa.co {
|
||||
root * /var/www/html
|
||||
|
||||
php_fastcgi wordpress:9000
|
||||
file_server
|
||||
}
|
||||
Reference in New Issue
Block a user