This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # — — — — — — — — — — — — — — — — # | |
| ### Installation / https://infinit.sh/get-started/linux | |
| ### Export the user we would like to use | |
| export INFINIT_USER=pascal | |
| sudo apt-get -y update | |
| sudo apt-get install -qy fuse | |
| sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3D2C3B0B | |
| sudo apt-get install -qy software-properties-common apt-transport-https |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo && echo -e "$PIK_BLUE Install infinit storage" # https://infinit.sh/documentation/docker/volume-plugin | |
| echo "checkpoint 112 $(date +%Y-%m-%d_%Hh%Mm%S)" >> ~/provisionninglogs.txt && echo | |
| APP_DIR=infinit | |
| INSTALL_VERSION=0.7.2 | |
| INSTALL_URL="https://storage.googleapis.com/sh_infinit_releases/linux64/Infinit-x86_64-linux_debian_oldstable-gcc4-$INSTALL_VERSION.tbz" | |
| INSTALL_PACKAGE="Infinit-x86_64-linux_debian_oldstable-gcc4-$INSTALL_VERSION" | |
| # /usr/local/bin/$DIRECTORY_NAME/bin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| See below |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #------------------------------------------------------------------------------# | |
| # OFFICIAL UBUNTU REPOS # | |
| #------------------------------------------------------------------------------# | |
| # Generated from https://repogen.simplylinux.ch/generate.php | |
| # Updated this: 2017-01-11_12h07 | |
| ###### Ubuntu Main Repos | |
| deb http://fr.archive.ubuntu.com/ubuntu/ xenial main universe | |
| deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main universe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Installed from: | |
| https://infinit.sh/get-started/linux#linux-tarball-install | |
| ### tree | |
| root@N12-PAR1:/bin/infinit# tree | |
| . | |
| ├── bin | |
| │ ├── fnetusermount-client | |
| │ ├── fnetusermount-server | |
| │ ├── infinit-acl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pwg_ID=(10000030 10000031 10000033) | |
| pwg_ID[0]=10000030 | |
| pwg_ID[1]=10000031 | |
| pwg_ID[2]=10000032 | |
| pwg_ID[3]=10000033 | |
| # echo ${pwg_ID[*]} | |
| # one two three | |
| # echo ${pwg_ID[2]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http { | |
| ... | |
| # serve Webp images instead of jpg & png. | |
| # only when browser supports it. | |
| map $http_accept $webp_suffix { | |
| default ""; | |
| "~*webp" ".webp"; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # RSA | |
| ssl_certificate /path/fullchain.pem; | |
| ssl_certificate_key /path/privkey.pem; | |
| # ECDSA | |
| ssl_certificate /path/0001_chain.pem; | |
| ssl_certificate_key /path/itchy.nl.ec.key; | |
| ssl_dhparam /path/dhparam4096.pem; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| proxy_hide_header Server; | |
| proxy_hide_header X-Powered-By; | |
| proxy_hide_header Etag; | |
| proxy_set_header Host $http_host; | |
| proxy_set_header X-Real-IP $remote_addr; | |
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
| proxy_set_header X-Forwarded-Proto $scheme; |