Add proxy location support
This commit is contained in:
parent
5b6850a50b
commit
3ebb8c1b03
3 changed files with 15 additions and 0 deletions
|
@ -25,6 +25,12 @@
|
|||
}
|
||||
{% endif %}
|
||||
|
||||
{% if proxy_rule %}
|
||||
proxy {{ proxy_path }} http://{{ proxy_location }}:{{ proxy_port }} {
|
||||
transparent
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
log {{ caddy_logs }}/{{ vhost_name }}/access.log {
|
||||
rotate_size 100
|
||||
rotate_age 30
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue