Retire files.iscg.dev Help2Travel preview; isolate main site root
This commit is contained in:
parent
53f908743a
commit
e8632cc9df
1 changed files with 5 additions and 5 deletions
|
|
@ -136,10 +136,10 @@ Allow: /" 200
|
|||
# browse включает Caddy's built-in directory listing. Корень /var/www/pub.
|
||||
# Без auth — класть только публичные файлы.
|
||||
"files.iscg.dev".extraConfig = ''
|
||||
handle /help2travel/api/* {
|
||||
reverse_proxy 127.0.0.1:8791 {
|
||||
header_up X-Client-IP {remote_host}
|
||||
}
|
||||
# Retired preview: landing and API live only on help2travel.ru.
|
||||
@help2travel_preview path /help2travel /help2travel/*
|
||||
handle @help2travel_preview {
|
||||
respond 404
|
||||
}
|
||||
handle {
|
||||
root * /var/www/pub
|
||||
|
|
@ -161,7 +161,7 @@ Allow: /" 200
|
|||
}
|
||||
}
|
||||
handle {
|
||||
root * /var/www/pub/help2travel
|
||||
root * /var/www/help2travel
|
||||
file_server
|
||||
}
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue