mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
add dns for proxy inside container
This commit is contained in:
parent
ce34f302a1
commit
0d98667650
9 changed files with 37 additions and 12 deletions
6
nix/image/configs/dnsmasq.conf
Normal file
6
nix/image/configs/dnsmasq.conf
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
listen-address=127.0.0.22
|
||||
no-resolv
|
||||
|
||||
address=/PROXY_BASE/HOST_IP
|
||||
|
||||
server=UPSTREAM_DNS
|
||||
|
|
@ -79,7 +79,7 @@ http {
|
|||
}
|
||||
}
|
||||
|
||||
include /conf/nginx-app.conf;
|
||||
include /etc/nginx-app.conf;
|
||||
|
||||
location ~ \.php(?:$|/) {
|
||||
rewrite ^/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|ocs-provider\/.+|.+\/richdocumentscode\/proxy) /index.php$request_uri;
|
||||
|
|
|
|||
2
nix/image/configs/supervisor/dnsmasq.conf
Normal file
2
nix/image/configs/supervisor/dnsmasq.conf
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[program:dnsmasq]
|
||||
command = /bin/dnsmasq --keep-in-foreground -u root
|
||||
Loading…
Add table
Add a link
Reference in a new issue