2022-12-22 18:07:29 +00:00
|
|
|
%
|
|
|
|
@ #ip_address
|
2022-12-22 18:11:15 +00:00
|
|
|
@ http://172.30.17.1:80/
|
2022-12-22 18:07:29 +00:00
|
|
|
%
|
|
|
|
@ #service
|
|
|
|
@ nextcloud
|
|
|
|
%
|
|
|
|
@ #ADDITIONAL_REPLACE
|
|
|
|
@ template = template.replace("proxy_set_header Host $host;", "proxy_set_header Host $host;\nproxy_set_header Upgrade $http_upgrade;\nproxy_set_header Connection \"upgrade\";")
|