#----------------------------------------------------
# Proxy Use
#----------------------------------------------------
server {
resolver 8.8.8.8;
listen 8080;
location / {
proxy_pass http://$http_host$request_uri;
}
}
server {
resolver 8.8.8.8;
listen 8084;
proxy_connect;
proxy_connect_allow all;
location / {
proxy_pass https://$host$request_uri;
proxy_set_header Host $host;
}
}
歡迎光臨 ADJ網路實驗室 (http://dz.adj.idv.tw/) | Powered by Discuz! 6.0.0 |