cdn
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cdn [2025/09/11 01:12] – [🧪 Example: Shell Script for Setup] miko | cdn [2025/11/25 16:37] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 77: | Line 77: | ||
| acl localnet src 192.168.0.0/ | acl localnet src 192.168.0.0/ | ||
| - | http_access allow localnet | + | # http_access allow localnet |
| - | http_access | + | http_access |
| cache allow all | cache allow all | ||
| Line 95: | Line 95: | ||
| Here’s a simple Bash script to create a test directory: | Here’s a simple Bash script to create a test directory: | ||
| - | tTo run the script run the command: | + | To run the script run the command: |
| - | < | + | < |
| + | wget https:// | ||
| + | chmod +x SLEdgeCDN.sh | ||
| ./ | ./ | ||
| </ | </ | ||
| - | |||
| [[https:// | [[https:// | ||
| - | |||
| <file SLEdgeCDN.sh> | <file SLEdgeCDN.sh> | ||
| #!/bin/bash | #!/bin/bash | ||
| Line 219: | Line 219: | ||
| so start or restart squid | so start or restart squid | ||
| - | < | + | < |
| sudo systemctl restart squid | sudo systemctl restart squid | ||
| sudo systemctl start squid | sudo systemctl start squid | ||
cdn.1757553135.txt.gz · Last modified: (external edit)
