implemented multisite
This commit is contained in:
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