equal
deleted
inserted
replaced
1 #!/bin/bash |
1 #!/bin/bash |
|
2 |
|
3 # curl -v google.com --proxy blog.defun.work:8888 --proxy-user proxy:PASS |
|
4 |
|
5 # sudo a2enmod proxy proxy_http proxy_connect |
2 |
6 |
3 set -x |
7 set -x |
4 |
8 |
5 # To meet uploading requirements. |
9 # To meet uploading requirements. |
6 apt install rsync |
10 apt install rsync |
40 SSLCertificateFile /etc/letsencrypt/live/defun.work/fullchain.pem |
44 SSLCertificateFile /etc/letsencrypt/live/defun.work/fullchain.pem |
41 SSLCertificateKeyFile /etc/letsencrypt/live/defun.work/privkey.pem |
45 SSLCertificateKeyFile /etc/letsencrypt/live/defun.work/privkey.pem |
42 Include /etc/letsencrypt/options-ssl-apache.conf |
46 Include /etc/letsencrypt/options-ssl-apache.conf |
43 </VirtualHost> |
47 </VirtualHost> |
44 </IfModule> |
48 </IfModule> |
45 EOF |
49 'EOF' |
46 |
50 |
47 a2ensite $d |
51 a2ensite $d |
48 service apache2 reload |
52 service apache2 reload |