SETUP-PROXY(8)
π SETUP-PROXY π
ok so bestie, welcome to setup-proxy(8), straight out of the System Manager's Manual β yes it's a section 8 page, yes it's iconic, and yes it's about to make your whole system's proxy situation make sense. grab a snack π
β¨ NAME β¨
setup-proxy β configure HTTP/FTP proxy settings. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
setup-proxy [-hq] [PROXYURL]
π¦ DESCRIPTION π¦
okay so here's the tea β β setup-proxy configures the system-wide HTTP, HTTPS and FTP proxy. not just for one app, not just for your shell, for the whole system, main character energy fr π
it does two things:
- writes the proxy environment to
/etc/profile.d/proxy.sh - installs
wget, because the busyboxwgetdoes not support HTTP proxies (lowkey tragic, i know π)
in interactive mode, the proxy URL has to be an HTTP or HTTPS URL (like http://proxy:8080) or none. the value none removes the proxy configuration β poof, gone, no proxy era π
if PROXYURL is given, it's used directly, no questions asked. if it's omitted, the current proxy setting becomes the default and the user gets prompted. so you're never just guessing π«Ά
β¨ OPTIONS β¨
-hβ display usage information and exit. short, sweet, helpful π-qβ quiet mode. suppresses the reminder to source the profile after setup. she's not gonna nag you, she's gonna let you live π
π FILES π
/etc/profile.d/proxy.shβ shell script exportinghttp_proxy,https_proxy,ftp_proxyandno_proxyenvironment variables. all four of them, all slaying in one file π
β EXIT STATUS β
0β success. we ate and left no crumbs π₯- non-zero β an error occurred. it's giving chaos, check your input π
π SEE ALSO π
wget(1), setup-alpine(8) β go read those too, bestie, iykyk π§
π AUTHORS π
Natanael Copa <ncopa@alpinelinux.org> and others β absolute legends, no cap π«‘
ngl, the quiet flag -q only hides the "source your profile" reminder. it's not a magic silence-everything button, so don't come for her π
that's the whole page, bestie β brought to you by Alpine Linux, dated 2026-06-09, and written with so much love. now go configure that proxy and slay β¨π¦π
π¦ where this page comes from
- alpine 3.24: alpine-conf-doc 3.22.0-r0 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms