docker-documentation/images/docker-swag/index.html

53 wiersze
79 KiB
HTML

<!doctype html><html lang=en class=no-js> <head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content="Welcome to the home of the LinuxServer.io documentation!"><meta name=author content=LinuxServer.io><link href=https://docs.linuxserver.io/images/docker-swag/ rel=canonical><link href=../docker-sqlitebrowser/ rel=prev><link href=../docker-synclounge/ rel=next><link rel=icon href="https://gblobscdn.gitbook.com/spaces%2F-LWuIse8qFJj2MqDi90T%2Favatar-1590244439115.png?alt=media"><meta name=generator content="mkdocs-1.4.3, mkdocs-material-9.1.14"><title>swag - LinuxServer.io</title><link rel=stylesheet href=../../assets/stylesheets/main.85bb2934.min.css><link rel=stylesheet href=../../assets/stylesheets/palette.a6bdf11c.min.css><link rel=preconnect href=https://fonts.gstatic.com crossorigin><link rel=stylesheet href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback"><style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style><script>__md_scope=new URL("../..",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script></head> <body dir=ltr data-md-color-scheme=default data-md-color-primary=purple data-md-color-accent=indigo> <script>var palette=__md_get("__palette");if(palette&&"object"==typeof palette.color)for(var key of Object.keys(palette.color))document.body.setAttribute("data-md-color-"+key,palette.color[key])</script> <input class=md-toggle data-md-toggle=drawer type=checkbox id=__drawer autocomplete=off> <input class=md-toggle data-md-toggle=search type=checkbox id=__search autocomplete=off> <label class=md-overlay for=__drawer></label> <div data-md-component=skip> <a href=#linuxserverswag class=md-skip> Skip to content </a> </div> <div data-md-component=announce> </div> <header class="md-header md-header--shadow" data-md-component=header> <nav class="md-header__inner md-grid" aria-label=Header> <a href=../.. title=LinuxServer.io class="md-header__button md-logo" aria-label=LinuxServer.io data-md-component=logo> <img src="https://gblobscdn.gitbook.com/spaces%2F-LWuIse8qFJj2MqDi90T%2Favatar-1590244439115.png?alt=media" alt=logo> </a> <label class="md-header__button md-icon" for=__drawer> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2Z"/></svg> </label> <div class=md-header__title data-md-component=header-title> <div class=md-header__ellipsis> <div class=md-header__topic> <span class=md-ellipsis> LinuxServer.io </span> </div> <div class=md-header__topic data-md-component=header-topic> <span class=md-ellipsis> swag </span> </div> </div> </div> <form class=md-header__option data-md-component=palette> <input class=md-option data-md-color-media="(prefers-color-scheme: light)" data-md-color-scheme=default data-md-color-primary=purple data-md-color-accent=indigo aria-label="Switch to dark mode" type=radio name=__palette id=__palette_1> <label class="md-header__button md-icon" title="Switch to dark mode" for=__palette_2 hidden> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M17 6H7c-3.31 0-6 2.69-6 6s2.69 6 6 6h10c3.31 0 6-2.69 6-6s-2.69-6-6-6zm0 10H7c-2.21 0-4-1.79-4-4s1.79-4 4-4h10c2.21 0 4 1.79 4 4s-1.79 4-4 4zM7 9c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"/></svg> </label> <input class=md-option data-md-color-media="(prefers-color-scheme: dark)" data-md-color-scheme=slate data-md-color-primary=purple data-md-color-accent=indigo aria-label="Switch to light mode" type=radio name=__palette id=__palette_2> <label class="md-header__button md-icon" title="Switch to light mode" for=__palette_1 hidden> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M17 7H7a5 5 0 0 0-5 5 5 5 0 0 0 5 5h10a5 5 0 0 0 5-5 5 5 0 0 0-5-5m0 8a3 3 0 0 1-3-3 3 3 0 0 1 3-3 3 3 0 0 1 3 3 3 3 0 0 1-3 3Z"/></svg> </label> </form> <label class="md-header__button md-icon" for=__search> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg> </label> <div class=md-search data-md-component=search role=dialog> <label class=md-search__overlay for=__search></label> <div class=md-search__inner role=search> <form class=md-search__form name=search> <input type=text class=md-search__input name=query aria-label=Search placeholder=Search autocapitalize=off autocorrect=off autocomplete=off spellcheck=false data-md-component=search-query required> <label class="md-search__icon md-icon" for=__search> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"/></svg> </label> <nav class=md-search__options aria-label=Search> <button type=reset class="md-search__icon md-icon" title=Clear aria-label=Clear tabindex=-1> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg> </button> </nav> </form> <div class=md-search__output> <div class=md-search__scrollwrap data-md-scrollfix> <div class=md-search-result data-md-component=search-result> <div class=md-search-result__meta> Initializing search </div> <ol class=md-search-result__list role=presentation></ol> </div> </div> </div> </div> </div> <div class=md-header__source> <a href=https://github.com/linuxserver/docker-documentation title="Go to repository" class=md-source data-md-component=source> <div class="md-source__icon md-icon"> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 448 512"><!-- Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg> </div> <div class=md-source__repository> linuxserver/docker-documentation </div> </a> </div> </nav> </header> <div class=md-container data-md-component=container> <main class=md-main data-md-component=main> <div class="md-main__inner md-grid"> <div class="md-sidebar md-sidebar--primary" data-md-component=sidebar data-md-type=navigation> <div class=md-sidebar__scrollwrap> <div class=md-sidebar__inner> <nav class="md-nav md-nav--primary" aria-label=Navigation data-md-level=0> <label class=md-nav__title for=__drawer> <a href=../.. title=LinuxServer.io class="md-nav__button md-logo" aria-label=LinuxServer.io data-md-component=logo> <img src="https://gblobscdn.gitbook.com/spaces%2F-LWuIse8qFJj2MqDi90T%2Favatar-1590244439115.png?alt=media" alt=logo> </a> LinuxServer.io </label> <div class=md-nav__source> <a href=https://github.com/linuxserver/docker-documentation title="Go to repository" class=md-source data-md-component=source> <div class="md-source__icon md-icon"> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 448 512"><!-- Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg> </div> <div class=md-source__repository> linuxserver/docker-documentation </div> </a> </div> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../.. class=md-nav__link> Introduction </a> </li> <li class=md-nav__item> <a href=../../FAQ/ class=md-nav__link> FAQ </a> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle " type=checkbox id=__nav_3> <label class=md-nav__link for=__nav_3 id=__nav_3_label tabindex=0> General <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=1 aria-labelledby=__nav_3_label aria-expanded=false> <label class=md-nav__title for=__nav_3> <span class="md-nav__icon md-icon"></span> General </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../general/container-execution/ class=md-nav__link> Container Execution </a> </li> <li class=md-nav__item> <a href=../../general/containers-101/ class=md-nav__link> Docker Containers: 101 </a> </li> <li class=md-nav__item> <a href=../../general/running-our-containers/ class=md-nav__link> Running LinuxServer Containers </a> </li> <li class=md-nav__item> <a href=../../general/container-customization/ class=md-nav__link> Customizing LinuxServer Containers </a> </li> <li class=md-nav__item> <a href=../../general/docker-compose/ class=md-nav__link> Docker Compose </a> </li> <li class=md-nav__item> <a href=../../general/understanding-puid-and-pgid/ class=md-nav__link> Understanding PUID and PGID </a> </li> <li class=md-nav__item> <a href=../../general/updating-our-containers/ class=md-nav__link> Updating our containers </a> </li> <li class=md-nav__item> <a href=../../general/volumes/ class=md-nav__link> Volumes </a> </li> <li class=md-nav__item> <a href=../../general/fleet/ class=md-nav__link> Fleet </a> </li> <li class=md-nav__item> <a href=../../general/swag/ class=md-nav__link> SWAG </a> </li> <li class=md-nav__item> <a href=../../general/awesome-lsio/ class=md-nav__link> Awesome LSIO </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--active md-nav__item--nested"> <input class="md-nav__toggle md-toggle " type=checkbox id=__nav_4 checked> <label class=md-nav__link for=__nav_4 id=__nav_4_label tabindex=0> Images <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=1 aria-labelledby=__nav_4_label aria-expanded=true> <label class=md-nav__title for=__nav_4> <span class="md-nav__icon md-icon"></span> Images </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../docker-adguardhome-sync/ class=md-nav__link> adguardhome-sync </a> </li> <li class=md-nav__item> <a href=../docker-airsonic-advanced/ class=md-nav__link> airsonic-advanced </a> </li> <li class=md-nav__item> <a href=../docker-airsonic/ class=md-nav__link> airsonic </a> </li> <li class=md-nav__item> <a href=../docker-apprise-api/ class=md-nav__link> apprise-api </a> </li> <li class=md-nav__item> <a href=../docker-audacity/ class=md-nav__link> audacity </a> </li> <li class=md-nav__item> <a href=../docker-babybuddy/ class=md-nav__link> babybuddy </a> </li> <li class=md-nav__item> <a href=../docker-bazarr/ class=md-nav__link> bazarr </a> </li> <li class=md-nav__item> <a href=../docker-beets/ class=md-nav__link> beets </a> </li> <li class=md-nav__item> <a href=../docker-blender/ class=md-nav__link> blender </a> </li> <li class=md-nav__item> <a href=../docker-boinc/ class=md-nav__link> boinc </a> </li> <li class=md-nav__item> <a href=../docker-booksonic-air/ class=md-nav__link> booksonic-air </a> </li> <li class=md-nav__item> <a href=../docker-booksonic/ class=md-nav__link> booksonic </a> </li> <li class=md-nav__item> <a href=../docker-bookstack/ class=md-nav__link> bookstack </a> </li> <li class=md-nav__item> <a href=../docker-budge/ class=md-nav__link> budge </a> </li> <li class=md-nav__item> <a href=../docker-build-agent/ class=md-nav__link> build-agent </a> </li> <li class=md-nav__item> <a href=../docker-calibre-web/ class=md-nav__link> calibre-web </a> </li> <li class=md-nav__item> <a href=../docker-calibre/ class=md-nav__link> calibre </a> </li> <li class=md-nav__item> <a href=../docker-cardigann/ class=md-nav__link> cardigann </a> </li> <li class=md-nav__item> <a href=../docker-changedetection.io/ class=md-nav__link> changedetection.io </a> </li> <li class=md-nav__item> <a href=../docker-chevereto/ class=md-nav__link> chevereto </a> </li> <li class=md-nav__item> <a href=../docker-chromium/ class=md-nav__link> chromium </a> </li> <li class=md-nav__item> <a href=../docker-clarkson/ class=md-nav__link> clarkson </a> </li> <li class=md-nav__item> <a href=../docker-cloud9/ class=md-nav__link> cloud9 </a> </li> <li class=md-nav__item> <a href=../docker-code-server/ class=md-nav__link> code-server </a> </li> <li class=md-nav__item> <a href=../docker-codiad/ class=md-nav__link> codiad </a> </li> <li class=md-nav__item> <a href=../docker-codimd/ class=md-nav__link> codimd </a> </li> <li class=md-nav__item> <a href=../docker-cops/ class=md-nav__link> cops </a> </li> <li class=md-nav__item> <a href=../docker-couchpotato/ class=md-nav__link> couchpotato </a> </li> <li class=md-nav__item> <a href=../docker-daapd/ class=md-nav__link> daapd </a> </li> <li class=md-nav__item> <a href=../docker-darktable/ class=md-nav__link> darktable </a> </li> <li class=md-nav__item> <a href=../docker-davos/ class=md-nav__link> davos </a> </li> <li class=md-nav__item> <a href=../docker-ddclient/ class=md-nav__link> ddclient </a> </li> <li class=md-nav__item> <a href=../docker-deluge/ class=md-nav__link> deluge </a> </li> <li class=md-nav__item> <a href=../docker-digikam/ class=md-nav__link> digikam </a> </li> <li class=md-nav__item> <a href=../docker-dillinger/ class=md-nav__link> dillinger </a> </li> <li class=md-nav__item> <a href=../docker-diskover/ class=md-nav__link> diskover </a> </li> <li class=md-nav__item> <a href=../docker-docker-compose/ class=md-nav__link> docker-compose </a> </li> <li class=md-nav__item> <a href=../docker-dokuwiki/ class=md-nav__link> dokuwiki </a> </li> <li class=md-nav__item> <a href=../docker-domoticz/ class=md-nav__link> domoticz </a> </li> <li class=md-nav__item> <a href=../docker-doplarr/ class=md-nav__link> doplarr </a> </li> <li class=md-nav__item> <a href=../docker-doublecommander/ class=md-nav__link> doublecommander </a> </li> <li class=md-nav__item> <a href=../docker-duckdns/ class=md-nav__link> duckdns </a> </li> <li class=md-nav__item> <a href=../docker-duplicati/ class=md-nav__link> duplicati </a> </li> <li class=md-nav__item> <a href=../docker-emby/ class=md-nav__link> emby </a> </li> <li class=md-nav__item> <a href=../docker-embystat/ class=md-nav__link> embystat </a> </li> <li class=md-nav__item> <a href=../docker-emulatorjs/ class=md-nav__link> emulatorjs </a> </li> <li class=md-nav__item> <a href=../docker-endlessh/ class=md-nav__link> endlessh </a> </li> <li class=md-nav__item> <a href=../docker-fail2ban/ class=md-nav__link> fail2ban </a> </li> <li class=md-nav__item> <a href=../docker-feed2toot/ class=md-nav__link> feed2toot </a> </li> <li class=md-nav__item> <a href=../docker-ffmpeg/ class=md-nav__link> ffmpeg </a> </li> <li class=md-nav__item> <a href=../docker-filezilla/ class=md-nav__link> filezilla </a> </li> <li class=md-nav__item> <a href=../docker-firefox/ class=md-nav__link> firefox </a> </li> <li class=md-nav__item> <a href=../docker-fleet/ class=md-nav__link> fleet </a> </li> <li class=md-nav__item> <a href=../docker-foldingathome/ class=md-nav__link> foldingathome </a> </li> <li class=md-nav__item> <a href=../docker-freshrss/ class=md-nav__link> freshrss </a> </li> <li class=md-nav__item> <a href=../docker-github-desktop/ class=md-nav__link> github-desktop </a> </li> <li class=md-nav__item> <a href=../docker-gitqlient/ class=md-nav__link> gitqlient </a> </li> <li class=md-nav__item> <a href=../docker-grav/ class=md-nav__link> grav </a> </li> <li class=md-nav__item> <a href=../docker-grocy/ class=md-nav__link> grocy </a> </li> <li class=md-nav__item> <a href=../docker-guacd/ class=md-nav__link> guacd </a> </li> <li class=md-nav__item> <a href=../docker-habridge/ class=md-nav__link> habridge </a> </li> <li class=md-nav__item> <a href=../docker-headphones/ class=md-nav__link> headphones </a> </li> <li class=md-nav__item> <a href=../docker-healthchecks/ class=md-nav__link> healthchecks </a> </li> <li class=md-nav__item> <a href=../docker-hedgedoc/ class=md-nav__link> hedgedoc </a> </li> <li class=md-nav__item> <a href=../docker-heimdall/ class=md-nav__link> heimdall </a> </li> <li class=md-nav__item> <a href=../docker-hishtory-server/ class=md-nav__link> hishtory-server </a> </li> <li class=md-nav__item> <a href=../docker-homeassistant/ class=md-nav__link> homeassistant </a> </li> <li class=md-nav__item> <a href=../docker-htpcmanager/ class=md-nav__link> htpcmanager </a> </li> <li class=md-nav__item> <a href=../docker-ipfs/ class=md-nav__link> ipfs </a> </li> <li class=md-nav__item> <a href=../docker-jackett/ class=md-nav__link> jackett </a> </li> <li class=md-nav__item> <a href=../docker-jellyfin/ class=md-nav__link> jellyfin </a> </li> <li class=md-nav__item> <a href=../docker-kanzi/ class=md-nav__link> kanzi </a> </li> <li class=md-nav__item> <a href=../docker-kasm/ class=md-nav__link> kasm </a> </li> <li class=md-nav__item> <a href=../docker-kdenlive/ class=md-nav__link> kdenlive </a> </li> <li class=md-nav__item> <a href=../docker-lazylibrarian/ class=md-nav__link> lazylibrarian </a> </li> <li class=md-nav__item> <a href=../docker-ldap-auth/ class=md-nav__link> ldap-auth </a> </li> <li class=md-nav__item> <a href=../docker-libreoffice/ class=md-nav__link> libreoffice </a> </li> <li class=md-nav__item> <a href=../docker-libresonic/ class=md-nav__link> libresonic </a> </li> <li class=md-nav__item> <a href=../docker-librespeed/ class=md-nav__link> librespeed </a> </li> <li class=md-nav__item> <a href=../docker-lidarr/ class=md-nav__link> lidarr </a> </li> <li class=md-nav__item> <a href=../docker-limnoria/ class=md-nav__link> limnoria </a> </li> <li class=md-nav__item> <a href=../docker-lollypop/ class=md-nav__link> lollypop </a> </li> <li class=md-nav__item> <a href=../docker-lychee/ class=md-nav__link> lychee </a> </li> <li class=md-nav__item> <a href=../docker-mariadb/ class=md-nav__link> mariadb </a> </li> <li class=md-nav__item> <a href=../docker-mastodon/ class=md-nav__link> mastodon </a> </li> <li class=md-nav__item> <a href=../docker-medusa/ class=md-nav__link> medusa </a> </li> <li class=md-nav__item> <a href=../docker-minetest/ class=md-nav__link> minetest </a> </li> <li class=md-nav__item> <a href=../docker-minisatip/ class=md-nav__link> minisatip </a> </li> <li class=md-nav__item> <a href=../docker-mstream/ class=md-nav__link> mstream </a> </li> <li class=md-nav__item> <a href=../docker-mullvad-browser/ class=md-nav__link> mullvad-browser </a> </li> <li class=md-nav__item> <a href=../docker-muximux/ class=md-nav__link> muximux </a> </li> <li class=md-nav__item> <a href=../docker-mylar3/ class=md-nav__link> mylar3 </a> </li> <li class=md-nav__item> <a href=../docker-mysql-workbench/ class=md-nav__link> mysql-workbench </a> </li> <li class=md-nav__item> <a href=../docker-nano-discord-bot/ class=md-nav__link> nano-discord-bot </a> </li> <li class=md-nav__item> <a href=../docker-nano-wallet/ class=md-nav__link> nano-wallet </a> </li> <li class=md-nav__item> <a href=../docker-nano/ class=md-nav__link> nano </a> </li> <li class=md-nav__item> <a href=../docker-netbootxyz/ class=md-nav__link> netbootxyz </a> </li> <li class=md-nav__item> <a href=../docker-netbox/ class=md-nav__link> netbox </a> </li> <li class=md-nav__item> <a href=../docker-nextcloud/ class=md-nav__link> nextcloud </a> </li> <li class=md-nav__item> <a href=../docker-nginx/ class=md-nav__link> nginx </a> </li> <li class=md-nav__item> <a href=../docker-ngircd/ class=md-nav__link> ngircd </a> </li> <li class=md-nav__item> <a href=../docker-nntp2nntp/ class=md-nav__link> nntp2nntp </a> </li> <li class=md-nav__item> <a href=../docker-nzbget/ class=md-nav__link> nzbget </a> </li> <li class=md-nav__item> <a href=../docker-nzbhydra2/ class=md-nav__link> nzbhydra2 </a> </li> <li class=md-nav__item> <a href=../docker-ombi/ class=md-nav__link> ombi </a> </li> <li class=md-nav__item> <a href=../docker-openssh-server/ class=md-nav__link> openssh-server </a> </li> <li class=md-nav__item> <a href=../docker-openvpn-as/ class=md-nav__link> openvpn-as </a> </li> <li class=md-nav__item> <a href=../docker-openvscode-server/ class=md-nav__link> openvscode-server </a> </li> <li class=md-nav__item> <a href=../docker-opera/ class=md-nav__link> opera </a> </li> <li class=md-nav__item> <a href=../docker-organizr/ class=md-nav__link> organizr </a> </li> <li class=md-nav__item> <a href=../docker-oscam/ class=md-nav__link> oscam </a> </li> <li class=md-nav__item> <a href=../docker-overseerr/ class=md-nav__link> overseerr </a> </li> <li class=md-nav__item> <a href=../docker-pairdrop/ class=md-nav__link> pairdrop </a> </li> <li class=md-nav__item> <a href=../docker-paperless-ng/ class=md-nav__link> paperless-ng </a> </li> <li class=md-nav__item> <a href=../docker-paperless-ngx/ class=md-nav__link> paperless-ngx </a> </li> <li class=md-nav__item> <a href=../docker-papermerge/ class=md-nav__link> papermerge </a> </li> <li class=md-nav__item> <a href=../docker-photoshow/ class=md-nav__link> photoshow </a> </li> <li class=md-nav__item> <a href=../docker-phpmyadmin/ class=md-nav__link> phpmyadmin </a> </li> <li class=md-nav__item> <a href=../docker-pidgin/ class=md-nav__link> pidgin </a> </li> <li class=md-nav__item> <a href=../docker-piwigo/ class=md-nav__link> piwigo </a> </li> <li class=md-nav__item> <a href=../docker-pixapop/ class=md-nav__link> pixapop </a> </li> <li class=md-nav__item> <a href=../docker-plex-meta-manager/ class=md-nav__link> plex-meta-manager </a> </li> <li class=md-nav__item> <a href=../docker-plex/ class=md-nav__link> plex </a> </li> <li class=md-nav__item> <a href=../docker-projectsend/ class=md-nav__link> projectsend </a> </li> <li class=md-nav__item> <a href=../docker-prowlarr/ class=md-nav__link> prowlarr </a> </li> <li class=md-nav__item> <a href=../docker-pwndrop/ class=md-nav__link> pwndrop </a> </li> <li class=md-nav__item> <a href=../docker-pydio-cells/ class=md-nav__link> pydio-cells </a> </li> <li class=md-nav__item> <a href=../docker-pyload-ng/ class=md-nav__link> pyload-ng </a> </li> <li class=md-nav__item> <a href=../docker-pyload/ class=md-nav__link> pyload </a> </li> <li class=md-nav__item> <a href=../docker-pylon/ class=md-nav__link> pylon </a> </li> <li class=md-nav__item> <a href=../docker-qbittorrent/ class=md-nav__link> qbittorrent </a> </li> <li class=md-nav__item> <a href=../docker-qdirstat/ class=md-nav__link> qdirstat </a> </li> <li class=md-nav__item> <a href=../docker-quassel-core/ class=md-nav__link> quassel-core </a> </li> <li class=md-nav__item> <a href=../docker-quassel-web/ class=md-nav__link> quassel-web </a> </li> <li class=md-nav__item> <a href=../docker-radarr/ class=md-nav__link> radarr </a> </li> <li class=md-nav__item> <a href=../docker-raneto/ class=md-nav__link> raneto </a> </li> <li class=md-nav__item> <a href=../docker-rdesktop/ class=md-nav__link> rdesktop </a> </li> <li class=md-nav__item> <a href=../docker-readarr/ class=md-nav__link> readarr </a> </li> <li class=md-nav__item> <a href=../docker-remmina/ class=md-nav__link> remmina </a> </li> <li class=md-nav__item> <a href=../docker-requestrr/ class=md-nav__link> requestrr </a> </li> <li class=md-nav__item> <a href=../docker-resilio-sync/ class=md-nav__link> resilio-sync </a> </li> <li class=md-nav__item> <a href=../docker-rsnapshot/ class=md-nav__link> rsnapshot </a> </li> <li class=md-nav__item> <a href=../docker-sabnzbd/ class=md-nav__link> sabnzbd </a> </li> <li class=md-nav__item> <a href=../docker-scrutiny/ class=md-nav__link> scrutiny </a> </li> <li class=md-nav__item> <a href=../docker-shout-irc/ class=md-nav__link> shout-irc </a> </li> <li class=md-nav__item> <a href=../docker-sickchill/ class=md-nav__link> sickchill </a> </li> <li class=md-nav__item> <a href=../docker-sickgear/ class=md-nav__link> sickgear </a> </li> <li class=md-nav__item> <a href=../docker-smokeping/ class=md-nav__link> smokeping </a> </li> <li class=md-nav__item> <a href=../docker-snapdrop/ class=md-nav__link> snapdrop </a> </li> <li class=md-nav__item> <a href=../docker-snipe-it/ class=md-nav__link> snipe-it </a> </li> <li class=md-nav__item> <a href=../docker-sonarr/ class=md-nav__link> sonarr </a> </li> <li class=md-nav__item> <a href=../docker-sqlitebrowser/ class=md-nav__link> sqlitebrowser </a> </li> <li class="md-nav__item md-nav__item--active"> <input class="md-nav__toggle md-toggle" type=checkbox id=__toc> <label class="md-nav__link md-nav__link--active" for=__toc> swag <span class="md-nav__icon md-icon"></span> </label> <a href=./ class="md-nav__link md-nav__link--active"> swag </a> <nav class="md-nav md-nav--secondary" aria-label="Table of contents"> <label class=md-nav__title for=__toc> <span class="md-nav__icon md-icon"></span> Table of contents </label> <ul class=md-nav__list data-md-component=toc data-md-scrollfix> <li class=md-nav__item> <a href=#supported-architectures class=md-nav__link> Supported Architectures </a> </li> <li class=md-nav__item> <a href=#application-setup class=md-nav__link> Application Setup </a> <nav class=md-nav aria-label="Application Setup"> <ul class=md-nav__list> <li class=md-nav__item> <a href=#validation-and-initial-setup class=md-nav__link> Validation and initial setup </a> </li> <li class=md-nav__item> <a href=#security-and-password-protection class=md-nav__link> Security and password protection </a> </li> <li class=md-nav__item> <a href=#site-config-and-reverse-proxy class=md-nav__link> Site config and reverse proxy </a> </li> <li class=md-nav__item> <a href=#using-certs-in-other-containers class=md-nav__link> Using certs in other containers </a> </li> <li class=md-nav__item> <a href=#using-fail2ban class=md-nav__link> Using fail2ban </a> </li> <li class=md-nav__item> <a href=#updating-configs class=md-nav__link> Updating configs </a> </li> <li class=md-nav__item> <a href=#migration-from-the-old-linuxserverletsencrypt-image class=md-nav__link> Migration from the old linuxserver/letsencrypt image </a> </li> </ul> </nav> </li> <li class=md-nav__item> <a href=#usage class=md-nav__link> Usage </a> <nav class=md-nav aria-label=Usage> <ul class=md-nav__list> <li class=md-nav__item> <a href=#docker-compose-recommended-click-here-for-more-info class=md-nav__link> docker-compose (recommended, click here for more info) </a> </li> <li class=md-nav__item> <a href=#docker-cli-click-here-for-more-info class=md-nav__link> docker cli (click here for more info) </a> </li> </ul> </nav> </li> <li class=md-nav__item> <a href=#parameters class=md-nav__link> Parameters </a> <nav class=md-nav aria-label=Parameters> <ul class=md-nav__list> <li class=md-nav__item> <a href=#ports-p class=md-nav__link> Ports (-p) </a> </li> <li class=md-nav__item> <a href=#environment-variables-e class=md-nav__link> Environment Variables (-e) </a> </li> <li class=md-nav__item> <a href=#volume-mappings-v class=md-nav__link> Volume Mappings (-v) </a> <nav class=md-nav aria-label="Volume Mappings (-v)"> <ul class=md-nav__list> <li class=md-nav__item> <a href=#miscellaneous-options class=md-nav__link> Miscellaneous Options </a> </li> </ul> </nav> </li> <li class=md-nav__item> <a href=#portainer-notice class=md-nav__link> Portainer notice </a> </li> </ul> </nav> </li> <li class=md-nav__item> <a href=#environment-variables-from-files-docker-secrets class=md-nav__link> Environment variables from files (Docker secrets) </a> </li> <li class=md-nav__item> <a href=#umask-for-running-applications class=md-nav__link> Umask for running applications </a> </li> <li class=md-nav__item> <a href=#user-group-identifiers class=md-nav__link> User / Group Identifiers </a> </li> <li class=md-nav__item> <a href=#docker-mods class=md-nav__link> Docker Mods </a> </li> <li class=md-nav__item> <a href=#support-info class=md-nav__link> Support Info </a> </li> <li class=md-nav__item> <a href=#versions class=md-nav__link> Versions </a> </li> </ul> </nav> </li> <li class=md-nav__item> <a href=../docker-synclounge/ class=md-nav__link> synclounge </a> </li> <li class=md-nav__item> <a href=../docker-syncthing/ class=md-nav__link> syncthing </a> </li> <li class=md-nav__item> <a href=../docker-syslog-ng/ class=md-nav__link> syslog-ng </a> </li> <li class=md-nav__item> <a href=../docker-taisun/ class=md-nav__link> taisun </a> </li> <li class=md-nav__item> <a href=../docker-tautulli/ class=md-nav__link> tautulli </a> </li> <li class=md-nav__item> <a href=../docker-thelounge/ class=md-nav__link> thelounge </a> </li> <li class=md-nav__item> <a href=../docker-transmission/ class=md-nav__link> transmission </a> </li> <li class=md-nav__item> <a href=../docker-tvheadend/ class=md-nav__link> tvheadend </a> </li> <li class=md-nav__item> <a href=../docker-ubooquity/ class=md-nav__link> ubooquity </a> </li> <li class=md-nav__item> <a href=../docker-unifi-controller/ class=md-nav__link> unifi-controller </a> </li> <li class=md-nav__item> <a href=../docker-vscodium/ class=md-nav__link> vscodium </a> </li> <li class=md-nav__item> <a href=../docker-webcord/ class=md-nav__link> webcord </a> </li> <li class=md-nav__item> <a href=../docker-webgrabplus/ class=md-nav__link> webgrabplus </a> </li> <li class=md-nav__item> <a href=../docker-webtop/ class=md-nav__link> webtop </a> </li> <li class=md-nav__item> <a href=../docker-wikijs/ class=md-nav__link> wikijs </a> </li> <li class=md-nav__item> <a href=../docker-wireguard/ class=md-nav__link> wireguard </a> </li> <li class=md-nav__item> <a href=../docker-wireshark/ class=md-nav__link> wireshark </a> </li> <li class=md-nav__item> <a href=../docker-wps-office/ class=md-nav__link> wps-office </a> </li> <li class=md-nav__item> <a href=../docker-xbackbone/ class=md-nav__link> xbackbone </a> </li> <li class=md-nav__item> <a href=../docker-your_spotify/ class=md-nav__link> your_spotify </a> </li> <li class=md-nav__item> <a href=../docker-yq/ class=md-nav__link> yq </a> </li> <li class=md-nav__item> <a href=../docker-znc/ class=md-nav__link> znc </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle " type=checkbox id=__nav_5> <label class=md-nav__link for=__nav_5 id=__nav_5_label tabindex=0> Misc <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=1 aria-labelledby=__nav_5_label aria-expanded=false> <label class=md-nav__title for=__nav_5> <span class="md-nav__icon md-icon"></span> Misc </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../misc/finances/ class=md-nav__link> Finances </a> </li> </ul> </nav> </li> </ul> </nav> </div> </div> </div> <div class="md-sidebar md-sidebar--secondary" data-md-component=sidebar data-md-type=toc> <div class=md-sidebar__scrollwrap> <div class=md-sidebar__inner> <nav class="md-nav md-nav--secondary" aria-label="Table of contents"> <label class=md-nav__title for=__toc> <span class="md-nav__icon md-icon"></span> Table of contents </label> <ul class=md-nav__list data-md-component=toc data-md-scrollfix> <li class=md-nav__item> <a href=#supported-architectures class=md-nav__link> Supported Architectures </a> </li> <li class=md-nav__item> <a href=#application-setup class=md-nav__link> Application Setup </a> <nav class=md-nav aria-label="Application Setup"> <ul class=md-nav__list> <li class=md-nav__item> <a href=#validation-and-initial-setup class=md-nav__link> Validation and initial setup </a> </li> <li class=md-nav__item> <a href=#security-and-password-protection class=md-nav__link> Security and password protection </a> </li> <li class=md-nav__item> <a href=#site-config-and-reverse-proxy class=md-nav__link> Site config and reverse proxy </a> </li> <li class=md-nav__item> <a href=#using-certs-in-other-containers class=md-nav__link> Using certs in other containers </a> </li> <li class=md-nav__item> <a href=#using-fail2ban class=md-nav__link> Using fail2ban </a> </li> <li class=md-nav__item> <a href=#updating-configs class=md-nav__link> Updating configs </a> </li> <li class=md-nav__item> <a href=#migration-from-the-old-linuxserverletsencrypt-image class=md-nav__link> Migration from the old linuxserver/letsencrypt image </a> </li> </ul> </nav> </li> <li class=md-nav__item> <a href=#usage class=md-nav__link> Usage </a> <nav class=md-nav aria-label=Usage> <ul class=md-nav__list> <li class=md-nav__item> <a href=#docker-compose-recommended-click-here-for-more-info class=md-nav__link> docker-compose (recommended, click here for more info) </a> </li> <li class=md-nav__item> <a href=#docker-cli-click-here-for-more-info class=md-nav__link> docker cli (click here for more info) </a> </li> </ul> </nav> </li> <li class=md-nav__item> <a href=#parameters class=md-nav__link> Parameters </a> <nav class=md-nav aria-label=Parameters> <ul class=md-nav__list> <li class=md-nav__item> <a href=#ports-p class=md-nav__link> Ports (-p) </a> </li> <li class=md-nav__item> <a href=#environment-variables-e class=md-nav__link> Environment Variables (-e) </a> </li> <li class=md-nav__item> <a href=#volume-mappings-v class=md-nav__link> Volume Mappings (-v) </a> <nav class=md-nav aria-label="Volume Mappings (-v)"> <ul class=md-nav__list> <li class=md-nav__item> <a href=#miscellaneous-options class=md-nav__link> Miscellaneous Options </a> </li> </ul> </nav> </li> <li class=md-nav__item> <a href=#portainer-notice class=md-nav__link> Portainer notice </a> </li> </ul> </nav> </li> <li class=md-nav__item> <a href=#environment-variables-from-files-docker-secrets class=md-nav__link> Environment variables from files (Docker secrets) </a> </li> <li class=md-nav__item> <a href=#umask-for-running-applications class=md-nav__link> Umask for running applications </a> </li> <li class=md-nav__item> <a href=#user-group-identifiers class=md-nav__link> User / Group Identifiers </a> </li> <li class=md-nav__item> <a href=#docker-mods class=md-nav__link> Docker Mods </a> </li> <li class=md-nav__item> <a href=#support-info class=md-nav__link> Support Info </a> </li> <li class=md-nav__item> <a href=#versions class=md-nav__link> Versions </a> </li> </ul> </nav> </div> </div> </div> <div class=md-content data-md-component=content> <article class="md-content__inner md-typeset"> <!-- DO NOT EDIT THIS FILE MANUALLY --> <!-- Please read the https://github.com/linuxserver/docker-swag/blob/master/.github/CONTRIBUTING.md --> <h1 id=linuxserverswag><a href=https://github.com/linuxserver/docker-swag>linuxserver/swag</a></h1> <p><a href=https://scarf.sh/gateway/linuxserver-ci/docker/linuxserver%2Fswag><img alt="Scarf.io pulls" src="https://scarf.sh/installs-badge/linuxserver-ci/linuxserver%2Fswag?color=94398d&label-color=555555&logo-color=ffffff&style=for-the-badge&package-type=docker"></a> <a href=https://github.com/linuxserver/docker-swag><img alt="GitHub Stars" src="https://img.shields.io/github/stars/linuxserver/docker-swag.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github"></a> <a href=https://github.com/linuxserver/docker-swag/releases><img alt="GitHub Release" src="https://img.shields.io/github/release/linuxserver/docker-swag.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github"></a> <a href=https://github.com/linuxserver/docker-swag/packages><img alt="GitHub Package Repository" src="https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitHub%20Package&logo=github"></a> <a href=https://gitlab.com/linuxserver.io/docker-swag/container_registry><img alt="GitLab Container Registry" src="https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=GitLab%20Registry&logo=gitlab"></a> <a href=https://quay.io/repository/linuxserver.io/swag><img alt=Quay.io src="https://img.shields.io/static/v1.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=linuxserver.io&message=Quay.io"></a> <a href=https://hub.docker.com/r/linuxserver/swag><img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/linuxserver/swag.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=pulls&logo=docker"></a> <a href=https://hub.docker.com/r/linuxserver/swag><img alt="Docker Stars" src="https://img.shields.io/docker/stars/linuxserver/swag.svg?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=stars&logo=docker"></a> <a href=https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-swag/job/master/ ><img alt="Jenkins Build" src="https://img.shields.io/jenkins/build?labelColor=555555&logoColor=ffffff&style=for-the-badge&jobUrl=https%3A%2F%2Fci.linuxserver.io%2Fjob%2FDocker-Pipeline-Builders%2Fjob%2Fdocker-swag%2Fjob%2Fmaster%2F&logo=jenkins"></a> <a href=https://ci-tests.linuxserver.io/linuxserver/swag/latest/index.html><img alt="LSIO CI" src="https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=CI&query=CI&url=https%3A%2F%2Fci-tests.linuxserver.io%2Flinuxserver%2Fswag%2Flatest%2Fci-status.yml"></a></p> <p>SWAG - Secure Web Application Gateway (formerly known as letsencrypt, no relation to Let's Encrypt™) sets up an Nginx webserver and reverse proxy with php support and a built-in certbot client that automates free SSL server certificate generation and renewal processes (Let's Encrypt and ZeroSSL). It also contains fail2ban for intrusion prevention.</p> <h2 id=supported-architectures>Supported Architectures</h2> <p>We utilise the docker manifest for multi-platform awareness. More information is available from docker <a href=https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list>here</a> and our announcement <a href=https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/ >here</a>.</p> <p>Simply pulling <code>lscr.io/linuxserver/swag:latest</code> should retrieve the correct image for your arch, but you can also pull specific arch images via tags.</p> <p>The architectures supported by this image are:</p> <table> <thead> <tr> <th align=center>Architecture</th> <th align=center>Available</th> <th>Tag</th> </tr> </thead> <tbody> <tr> <td align=center>x86-64</td> <td align=center></td> <td>amd64-\&lt;version tag></td> </tr> <tr> <td align=center>arm64</td> <td align=center></td> <td>arm64v8-\&lt;version tag></td> </tr> <tr> <td align=center>armhf</td> <td align=center></td> <td></td> </tr> </tbody> </table> <h2 id=application-setup>Application Setup</h2> <h3 id=validation-and-initial-setup>Validation and initial setup</h3> <ul> <li>Before running this container, make sure that the url and subdomains are properly forwarded to this container's host, and that port 443 (and/or 80) is not being used by another service on the host (NAS gui, another webserver, etc.).</li> <li>If you need a dynamic dns provider, you can use the free provider duckdns.org where the <code>URL</code> will be <code>yoursubdomain.duckdns.org</code> and the <code>SUBDOMAINS</code> can be <code>www,ftp,cloud</code> with http validation, or <code>wildcard</code> with dns validation. You can use our <a href=https://hub.docker.com/r/linuxserver/duckdns/ >duckdns image</a> to update your IP on duckdns.org.</li> <li>For <code>http</code> validation, port 80 on the internet side of the router should be forwarded to this container's port 80</li> <li>For <code>dns</code> validation, make sure to enter your credentials into the corresponding ini (or json for some plugins) file under <code>/config/dns-conf</code></li> <li>Cloudflare provides free accounts for managing dns and is very easy to use with this image. Make sure that it is set up for "dns only" instead of "dns + proxy"</li> <li>Google dns plugin is meant to be used with "Google Cloud DNS", a paid enterprise product, and not for "Google Domains DNS"</li> <li>DuckDNS only supoprts two types of DNS validated certificates (not both at the same time):<ol> <li>Certs that only cover your main subdomain (ie. <code>yoursubdomain.duckdns.org</code>, leave the <code>SUBDOMAINS</code> variable empty)</li> <li>Certs that cover sub-subdomains of your main subdomain (ie. <code>*.yoursubdomain.duckdns.org</code>, set the <code>SUBDOMAINS</code> variable to <code>wildcard</code>)</li> </ol> </li> <li><code>--cap-add=NET_ADMIN</code> is required for fail2ban to modify iptables</li> <li>After setup, navigate to <code>https://yourdomain.url</code> to access the default homepage (http access through port 80 is disabled by default, you can enable it by editing the default site config at <code>/config/nginx/site-confs/default.conf</code>).</li> <li>Certs are checked nightly and if expiration is within 30 days, renewal is attempted. If your cert is about to expire in less than 30 days, check the logs under <code>/config/log/letsencrypt</code> to see why the renewals have been failing. It is recommended to input your e-mail in docker parameters so you receive expiration notices from Let's Encrypt in those circumstances.</li> </ul> <h3 id=security-and-password-protection>Security and password protection</h3> <ul> <li>The container detects changes to url and subdomains, revokes existing certs and generates new ones during start.</li> <li>Per <a href=https://datatracker.ietf.org/doc/html/rfc7919>RFC7919</a>, the container is shipping <a href=https://ssl-config.mozilla.org/ffdhe4096.txt>ffdhe4096</a> as the <code>dhparams.pem</code>.</li> <li>If you'd like to password protect your sites, you can use htpasswd. Run the following command on your host to generate the htpasswd file <code>docker exec -it swag htpasswd -c /config/nginx/.htpasswd &lt;username&gt;</code></li> <li>You can add multiple user:pass to <code>.htpasswd</code>. For the first user, use the above command, for others, use the above command without the <code>-c</code> flag, as it will force deletion of the existing <code>.htpasswd</code> and creation of a new one</li> <li>You can also use ldap auth for security and access control. A sample, user configurable ldap.conf is provided, and it requires the separate image <a href=https://hub.docker.com/r/linuxserver/ldap-auth/ >linuxserver/ldap-auth</a> to communicate with an ldap server.</li> </ul> <h3 id=site-config-and-reverse-proxy>Site config and reverse proxy</h3> <ul> <li>The default site config resides at <code>/config/nginx/site-confs/default.conf</code>. Feel free to modify this file, and you can add other conf files to this directory. However, if you delete the <code>default</code> file, a new default will be created on container start.</li> <li>Preset reverse proxy config files are added for popular apps. See the <code>README.md</code> file under <code>/config/nginx/proxy_confs</code> for instructions on how to enable them. The preset confs reside in and get imported from <a href=https://github.com/linuxserver/reverse-proxy-confs>this repo</a>.</li> <li>If you wish to hide your site from search engine crawlers, you may find it useful to add this configuration line to your site config, within the server block, above the line where ssl.conf is included <code>add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive";</code> This will <em>ask</em> Google et al not to index and list your site. Be careful with this, as you will eventually be de-listed if you leave this line in on a site you wish to be present on search engines</li> <li>If you wish to redirect http to https, you must expose port 80</li> </ul> <h3 id=using-certs-in-other-containers>Using certs in other containers</h3> <ul> <li>This container includes auto-generated pfx and private-fullchain-bundle pem certs that are needed by other apps like Emby and Znc.</li> <li>To use these certs in other containers, do either of the following:</li> <li><em>(Easier)</em> Mount the container's config folder in other containers (ie. <code>-v /path-to-swag-config:/swag-ssl</code>) and in the other containers, use the cert location <code>/swag-ssl/keys/letsencrypt/</code></li> <li><em>(More secure)</em> Mount the SWAG folder <code>etc</code> that resides under <code>/config</code> in other containers (ie. <code>-v /path-to-swag-config/etc:/swag-ssl</code>) and in the other containers, use the cert location <code>/swag-ssl/letsencrypt/live/&lt;your.domain.url&gt;/</code> (This is more secure because the first method shares the entire SWAG config folder with other containers, including the www files, whereas the second method only shares the ssl certs)</li> <li>These certs include:</li> <li><code>cert.pem</code>, <code>chain.pem</code>, <code>fullchain.pem</code> and <code>privkey.pem</code>, which are generated by Certbot and used by nginx and various other apps</li> <li><code>privkey.pfx</code>, a format supported by Microsoft and commonly used by dotnet apps such as Emby Server (no password)</li> <li><code>priv-fullchain-bundle.pem</code>, a pem cert that bundles the private key and the fullchain, used by apps like ZNC</li> </ul> <h3 id=using-fail2ban>Using fail2ban</h3> <ul> <li>This container includes fail2ban set up with 5 jails by default:</li> <li>nginx-http-auth</li> <li>nginx-badbots</li> <li>nginx-botsearch</li> <li>nginx-deny</li> <li>nginx-unauthorized</li> <li>To enable or disable other jails, modify the file <code>/config/fail2ban/jail.local</code></li> <li>To modify filters and actions, instead of editing the <code>.conf</code> files, create <code>.local</code> files with the same name and edit those because .conf files get overwritten when the actions and filters are updated. <code>.local</code> files will append whatever's in the <code>.conf</code> files (ie. <code>nginx-http-auth.conf</code> --&gt; <code>nginx-http-auth.local</code>)</li> <li>You can check which jails are active via <code>docker exec -it swag fail2ban-client status</code></li> <li>You can check the status of a specific jail via <code>docker exec -it swag fail2ban-client status &lt;jail name&gt;</code></li> <li>You can unban an IP via <code>docker exec -it swag fail2ban-client set &lt;jail name&gt; unbanip &lt;IP&gt;</code></li> <li>A list of commands can be found here: <a href=https://www.fail2ban.org/wiki/index.php/Commands>https://www.fail2ban.org/wiki/index.php/Commands</a></li> </ul> <h3 id=updating-configs>Updating configs</h3> <ul> <li>This container creates a number of configs for nginx, proxy samples, etc.</li> <li>Config updates are noted in the changelog but not automatically applied to your files.</li> <li>If you have modified a file with noted changes in the changelog:</li> <li>Keep your existing configs as is (not broken, don't fix)</li> <li>Review our repository commits and apply the new changes yourself</li> <li>Delete the modified config file with listed updates, restart the container, reapply your changes</li> <li>If you have NOT modified a file with noted changes in the changelog:</li> <li>Delete the config file with listed updates, restart the container</li> <li>Proxy sample updates are not listed in the changelog. See the changes here: <a href=https://github.com/linuxserver/reverse-proxy-confs/commits/master>https://github.com/linuxserver/reverse-proxy-confs/commits/master</a></li> <li>Proxy sample files WILL be updated, however your renamed (enabled) proxy files will not.</li> <li>You can check the new sample and adjust your active config as needed.</li> </ul> <h3 id=migration-from-the-old-linuxserverletsencrypt-image>Migration from the old <code>linuxserver/letsencrypt</code> image</h3> <p>Please follow the instructions <a href=https://www.linuxserver.io/blog/2020-08-21-introducing-swag#migrate>on this blog post</a>.</p> <h2 id=usage>Usage</h2> <p>To help you get started creating a container from this image you can either use docker-compose or the docker cli.</p> <h3 id=docker-compose-recommended-click-here-for-more-info>docker-compose (recommended, <a href=https://docs.linuxserver.io/general/docker-compose>click here for more info</a>)</h3> <div class=highlight><pre><span></span><code><span class=nn>---</span>
<span class=nt>version</span><span class=p>:</span><span class=w> </span><span class=s>&quot;2.1&quot;</span>
<span class=nt>services</span><span class=p>:</span>
<span class=w> </span><span class=nt>swag</span><span class=p>:</span>
<span class=w> </span><span class=nt>image</span><span class=p>:</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">lscr.io/linuxserver/swag:latest</span>
<span class=w> </span><span class=nt>container_name</span><span class=p>:</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">swag</span>
<span class=w> </span><span class=nt>cap_add</span><span class=p>:</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">NET_ADMIN</span>
<span class=w> </span><span class=nt>environment</span><span class=p>:</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">PUID=1000</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">PGID=1000</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">TZ=Etc/UTC</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">URL=yourdomain.url</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">VALIDATION=http</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">SUBDOMAINS=www,</span><span class=w> </span><span class=c1>#optional</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">CERTPROVIDER=</span><span class=w> </span><span class=c1>#optional</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">DNSPLUGIN=cloudflare</span><span class=w> </span><span class=c1>#optional</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">PROPAGATION=</span><span class=w> </span><span class=c1>#optional</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">EMAIL=</span><span class=w> </span><span class=c1>#optional</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">ONLY_SUBDOMAINS=false</span><span class=w> </span><span class=c1>#optional</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">EXTRA_DOMAINS=</span><span class=w> </span><span class=c1>#optional</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">STAGING=false</span><span class=w> </span><span class=c1>#optional</span>
<span class=w> </span><span class=nt>volumes</span><span class=p>:</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">/path/to/appdata/config:/config</span>
<span class=w> </span><span class=nt>ports</span><span class=p>:</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">443:443</span>
<span class=w> </span><span class="p p-Indicator">-</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">80:80</span><span class=w> </span><span class=c1>#optional</span>
<span class=w> </span><span class=nt>restart</span><span class=p>:</span><span class=w> </span><span class="l l-Scalar l-Scalar-Plain">unless-stopped</span>
</code></pre></div> <h3 id=docker-cli-click-here-for-more-info>docker cli (<a href=https://docs.docker.com/engine/reference/commandline/cli/ >click here for more info</a>)</h3> <div class=highlight><pre><span></span><code>docker<span class=w> </span>run<span class=w> </span>-d<span class=w> </span><span class=se>\</span>
<span class=w> </span>--name<span class=o>=</span>swag<span class=w> </span><span class=se>\</span>
<span class=w> </span>--cap-add<span class=o>=</span>NET_ADMIN<span class=w> </span><span class=se>\</span>
<span class=w> </span>-e<span class=w> </span><span class=nv>PUID</span><span class=o>=</span><span class=m>1000</span><span class=w> </span><span class=se>\</span>
<span class=w> </span>-e<span class=w> </span><span class=nv>PGID</span><span class=o>=</span><span class=m>1000</span><span class=w> </span><span class=se>\</span>
<span class=w> </span>-e<span class=w> </span><span class=nv>TZ</span><span class=o>=</span>Etc/UTC<span class=w> </span><span class=se>\</span>
<span class=w> </span>-e<span class=w> </span><span class=nv>URL</span><span class=o>=</span>yourdomain.url<span class=w> </span><span class=se>\</span>
<span class=w> </span>-e<span class=w> </span><span class=nv>VALIDATION</span><span class=o>=</span>http<span class=w> </span><span class=se>\</span>
<span class=w> </span>-e<span class=w> </span><span class=nv>SUBDOMAINS</span><span class=o>=</span>www,<span class=w> </span><span class=sb>`</span><span class=c1>#optional` \</span>
<span class=w> </span>-e<span class=w> </span><span class=nv>CERTPROVIDER</span><span class=o>=</span><span class=w> </span><span class=sb>`</span><span class=c1>#optional` \</span>
<span class=w> </span>-e<span class=w> </span><span class=nv>DNSPLUGIN</span><span class=o>=</span>cloudflare<span class=w> </span><span class=sb>`</span><span class=c1>#optional` \</span>
<span class=w> </span>-e<span class=w> </span><span class=nv>PROPAGATION</span><span class=o>=</span><span class=w> </span><span class=sb>`</span><span class=c1>#optional` \</span>
<span class=w> </span>-e<span class=w> </span><span class=nv>EMAIL</span><span class=o>=</span><span class=w> </span><span class=sb>`</span><span class=c1>#optional` \</span>
<span class=w> </span>-e<span class=w> </span><span class=nv>ONLY_SUBDOMAINS</span><span class=o>=</span><span class=nb>false</span><span class=w> </span><span class=sb>`</span><span class=c1>#optional` \</span>
<span class=w> </span>-e<span class=w> </span><span class=nv>EXTRA_DOMAINS</span><span class=o>=</span><span class=w> </span><span class=sb>`</span><span class=c1>#optional` \</span>
<span class=w> </span>-e<span class=w> </span><span class=nv>STAGING</span><span class=o>=</span><span class=nb>false</span><span class=w> </span><span class=sb>`</span><span class=c1>#optional` \</span>
<span class=w> </span>-p<span class=w> </span><span class=m>443</span>:443<span class=w> </span><span class=se>\</span>
<span class=w> </span>-p<span class=w> </span><span class=m>80</span>:80<span class=w> </span><span class=sb>`</span><span class=c1>#optional` \</span>
<span class=w> </span>-v<span class=w> </span>/path/to/appdata/config:/config<span class=w> </span><span class=se>\</span>
<span class=w> </span>--restart<span class=w> </span>unless-stopped<span class=w> </span><span class=se>\</span>
<span class=w> </span>lscr.io/linuxserver/swag:latest
</code></pre></div> <h2 id=parameters>Parameters</h2> <p>Docker images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate <code>&lt;external&gt;:&lt;internal&gt;</code> respectively. For example, <code>-p 8080:80</code> would expose port <code>80</code> from inside the container to be accessible from the host's IP on port <code>8080</code> outside the container.</p> <h3 id=ports-p>Ports (<code>-p</code>)</h3> <table> <thead> <tr> <th align=center>Parameter</th> <th>Function</th> </tr> </thead> <tbody> <tr> <td align=center><code>443</code></td> <td>Https port</td> </tr> <tr> <td align=center><code>80</code></td> <td>Http port (required for http validation and http -&gt; https redirect)</td> </tr> </tbody> </table> <h3 id=environment-variables-e>Environment Variables (<code>-e</code>)</h3> <table> <thead> <tr> <th align=center>Env</th> <th>Function</th> </tr> </thead> <tbody> <tr> <td align=center><code>PUID=1000</code></td> <td>for UserID - see below for explanation</td> </tr> <tr> <td align=center><code>PGID=1000</code></td> <td>for GroupID - see below for explanation</td> </tr> <tr> <td align=center><code>TZ=Etc/UTC</code></td> <td>specify a timezone to use, see this <a href=https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List>list</a>.</td> </tr> <tr> <td align=center><code>URL=yourdomain.url</code></td> <td>Top url you have control over (<code>customdomain.com</code> if you own it, or <code>customsubdomain.ddnsprovider.com</code> if dynamic dns).</td> </tr> <tr> <td align=center><code>VALIDATION=http</code></td> <td>Certbot validation method to use, options are <code>http</code> or <code>dns</code> (<code>dns</code> method also requires <code>DNSPLUGIN</code> variable set).</td> </tr> <tr> <td align=center><code>SUBDOMAINS=www,</code></td> <td>Subdomains you'd like the cert to cover (comma separated, no spaces) ie. <code>www,ftp,cloud</code>. For a wildcard cert, set this <em>exactly</em> to <code>wildcard</code> (wildcard cert is available via <code>dns</code> validation only)</td> </tr> <tr> <td align=center><code>CERTPROVIDER=</code></td> <td>Optionally define the cert provider. Set to <code>zerossl</code> for ZeroSSL certs (requires existing <a href=https://app.zerossl.com/signup>ZeroSSL account</a> and the e-mail address entered in <code>EMAIL</code> env var). Otherwise defaults to Let's Encrypt.</td> </tr> <tr> <td align=center><code>DNSPLUGIN=cloudflare</code></td> <td>Required if <code>VALIDATION</code> is set to <code>dns</code>. Options are <code>acmedns</code>, <code>aliyun</code>, <code>azure</code>, <code>cloudflare</code>, <code>cpanel</code>, <code>desec</code>, <code>digitalocean</code>, <code>directadmin</code>, <code>dnsimple</code>, <code>dnsmadeeasy</code>, <code>dnspod</code>, <code>do</code>, <code>domeneshop</code>, <code>duckdns</code>, <code>dynu</code>, <code>gandi</code>, <code>gehirn</code>, <code>godaddy</code>, <code>google</code>, <code>google-domains</code>, <code>he</code>, <code>hetzner</code>, <code>infomaniak</code>, <code>inwx</code>, <code>ionos</code>, <code>linode</code>, <code>loopia</code>, <code>luadns</code>, <code>netcup</code>, <code>njalla</code>, <code>nsone</code>, <code>ovh</code>, <code>porkbun</code>, <code>rfc2136</code>, <code>route53</code>, <code>sakuracloud</code>, <code>standalone</code>, <code>transip</code>, and <code>vultr</code>. Also need to enter the credentials into the corresponding ini (or json for some plugins) file under <code>/config/dns-conf</code>.</td> </tr> <tr> <td align=center><code>PROPAGATION=</code></td> <td>Optionally override (in seconds) the default propagation time for the dns plugins.</td> </tr> <tr> <td align=center><code>EMAIL=</code></td> <td>Optional e-mail address used for cert expiration notifications (Required for ZeroSSL).</td> </tr> <tr> <td align=center><code>ONLY_SUBDOMAINS=false</code></td> <td>If you wish to get certs only for certain subdomains, but not the main domain (main domain may be hosted on another machine and cannot be validated), set this to <code>true</code></td> </tr> <tr> <td align=center><code>EXTRA_DOMAINS=</code></td> <td>Additional fully qualified domain names (comma separated, no spaces) ie. <code>extradomain.com,subdomain.anotherdomain.org,*.anotherdomain.org</code></td> </tr> <tr> <td align=center><code>STAGING=false</code></td> <td>Set to <code>true</code> to retrieve certs in staging mode. Rate limits will be much higher, but the resulting cert will not pass the browser's security test. Only to be used for testing purposes.</td> </tr> </tbody> </table> <h3 id=volume-mappings-v>Volume Mappings (<code>-v</code>)</h3> <table> <thead> <tr> <th align=center>Volume</th> <th>Function</th> </tr> </thead> <tbody> <tr> <td align=center><code>/config</code></td> <td>All the config files including the webroot reside here.</td> </tr> </tbody> </table> <h4 id=miscellaneous-options>Miscellaneous Options</h4> <table> <thead> <tr> <th align=center>Parameter</th> <th>Function</th> </tr> </thead> <tbody> <tr> <td></td> <td></td> </tr> </tbody> </table> <h3 id=portainer-notice>Portainer notice</h3> <p _=% endhint=endhint>{% hint style="warning" %} This image utilises <code>cap_add</code> or <code>sysctl</code> to work properly. This is not implemented properly in some versions of Portainer, thus this image may not work if deployed through Portainer.</p> <h2 id=environment-variables-from-files-docker-secrets>Environment variables from files (Docker secrets)</h2> <p>You can set any environment variable from a file by using a special prepend <code>FILE__</code>.</p> <p>As an example:</p> <div class=highlight><pre><span></span><code>-e<span class=w> </span><span class=nv>FILE__PASSWORD</span><span class=o>=</span>/run/secrets/mysecretpassword
</code></pre></div> <p>Will set the environment variable <code>PASSWORD</code> based on the contents of the <code>/run/secrets/mysecretpassword</code> file.</p> <h2 id=umask-for-running-applications>Umask for running applications</h2> <p>For all of our images we provide the ability to override the default umask settings for services started within the containers using the optional <code>-e UMASK=022</code> setting. Keep in mind umask is not chmod it subtracts from permissions based on it's value it does not add. Please read up <a href=https://en.wikipedia.org/wiki/Umask>here</a> before asking for support.</p> <h2 id=user-group-identifiers>User / Group Identifiers</h2> <p>When using volumes (<code>-v</code> flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user <code>PUID</code> and group <code>PGID</code>.</p> <p>Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.</p> <p>In this instance <code>PUID=1000</code> and <code>PGID=1000</code>, to find yours use <code>id user</code> as below:</p> <div class=highlight><pre><span></span><code><span class=w> </span>$<span class=w> </span>id<span class=w> </span>username
<span class=w> </span><span class=nv>uid</span><span class=o>=</span><span class=m>1000</span><span class=o>(</span>dockeruser<span class=o>)</span><span class=w> </span><span class=nv>gid</span><span class=o>=</span><span class=m>1000</span><span class=o>(</span>dockergroup<span class=o>)</span><span class=w> </span><span class=nv>groups</span><span class=o>=</span><span class=m>1000</span><span class=o>(</span>dockergroup<span class=o>)</span>
</code></pre></div> <h2 id=docker-mods>Docker Mods</h2> <p><a href="https://mods.linuxserver.io/?mod=swag" title="view available mods for this container."><img alt="Docker Mods" src="https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=swag&query=%24.mods%5B%27swag%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml"></a> <a href="https://mods.linuxserver.io/?mod=universal" title="view available universal mods."><img alt="Docker Universal Mods" src="https://img.shields.io/badge/dynamic/yaml?color=94398d&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=universal&query=%24.mods%5B%27universal%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml"></a></p> <p>We publish various <a href=https://github.com/linuxserver/docker-mods>Docker Mods</a> to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above.</p> <h2 id=support-info>Support Info</h2> <ul> <li>Shell access whilst the container is running:</li> <li><code>docker exec -it swag /bin/bash</code></li> <li>To monitor the logs of the container in realtime:</li> <li><code>docker logs -f swag</code></li> <li>Container version number</li> <li><code>docker inspect -f '{{ index .Config.Labels "build_version" }}' swag</code></li> <li>Image version number</li> <li><code>docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/swag:latest</code></li> </ul> <h2 id=versions>Versions</h2> <ul> <li><strong>25.05.23:</strong> - Rebase to Alpine 3.18, deprecate armhf.</li> <li><strong>27.04.23:</strong> - <a href=https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs>Existing users should update:</a> authelia-location.conf, authelia-server.conf, authentik-location.conf, authentik-server.conf - Simplify auth configs and fix Set-Cookie header bug.</li> <li><strong>13.04.23:</strong> - <a href=https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs>Existing users should update:</a> nginx.conf, authelia-location.conf, authentik-location.conf, and site-confs/default.conf - Move ssl.conf include to default.conf. Remove Authorization headers in authelia. Sort proxy_set_header in authelia and authentik.</li> <li><strong>25.03.23:</strong> - Fix renewal post hook.</li> <li><strong>10.03.23:</strong> - Cleanup unused csr and keys folders. See <a href=https://github.com/certbot/certbot/releases/tag/v2.3.0>certbot 2.3.0 release notes</a>.</li> <li><strong>09.03.23:</strong> - Add Google Domains DNS support, <code>google-domains</code>.</li> <li><strong>02.03.23:</strong> - Set permissions on crontabs during init.</li> <li><strong>09.02.23:</strong> - <a href=https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs>Existing users should update:</a> proxy.conf, authelia-location.conf and authelia-server.conf - Add Authentik configs, update Authelia configs.</li> <li><strong>06.02.23:</strong> - Add porkbun support back in.</li> <li><strong>21.01.23:</strong> - Unpin certbot version (allow certbot 2.x). !!BREAKING CHANGE!! We are temporarily removing the certbot porkbun plugin until a new version is released that is compatible with certbot 2.x.</li> <li><strong>20.01.23:</strong> - Rebase to alpine 3.17 with php8.1.</li> <li><strong>16.01.23:</strong> - Remove nchan module because it keeps causing crashes.</li> <li><strong>08.12.22:</strong> - Revamp certbot init.</li> <li><strong>03.12.22:</strong> - Remove defunct cloudxns plugin.</li> <li><strong>22.11.22:</strong> - Pin acme to the same version as certbot.</li> <li><strong>22.11.22:</strong> - Pin certbot to 1.32.0 until plugin compatibility improves.</li> <li><strong>05.11.22:</strong> - Update acmedns plugin handling.</li> <li><strong>06.10.22:</strong> - Switch to certbot-dns-duckdns. Update cpanel and gandi dns plugin handling. Minor adjustments to init logic.</li> <li><strong>05.10.22:</strong> - Use certbot file hooks instead of command line hooks</li> <li><strong>04.10.22:</strong> - Add godaddy and porkbun dns plugins.</li> <li><strong>03.10.22:</strong> - Add default_server back to default site conf's https listen.</li> <li><strong>22.09.22:</strong> - Added support for DO DNS validation.</li> <li><strong>22.09.22:</strong> - Added certbot-dns-acmedns for DNS01 validation.</li> <li><strong>20.08.22:</strong> - <a href=https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs>Existing users should update:</a> nginx.conf - Rebasing to alpine 3.15 with php8. Restructure nginx configs (<a href=https://info.linuxserver.io/issues/2022-08-20-nginx-base>see changes announcement</a>).</li> <li><strong>10.08.22:</strong> - Added support for Dynu DNS validation.</li> <li><strong>18.05.22:</strong> - Added support for Azure DNS validation.</li> <li><strong>09.04.22:</strong> - Added certbot-dns-loopia for DNS01 validation.</li> <li><strong>05.04.22:</strong> - Added support for standalone DNS validation.</li> <li><strong>28.03.22:</strong> - created a logfile for fail2ban nginx-unauthorized in /etc/cont-init.d/50-config</li> <li><strong>09.01.22:</strong> - Added a fail2ban jail for nginx unauthorized</li> <li><strong>21.12.21:</strong> - Fixed issue with iptables not working as expected</li> <li><strong>30.11.21:</strong> - Move maxmind to a <a href=https://github.com/linuxserver/docker-mods/tree/swag-maxmind>new mod</a></li> <li><strong>22.11.21:</strong> - Added support for Infomaniak DNS for certificate generation.</li> <li><strong>20.11.21:</strong> - Added support for dnspod validation.</li> <li><strong>15.11.21:</strong> - Added support for deSEC DNS for wildcard certificate generation.</li> <li><strong>26.10.21:</strong> - <a href=https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs>Existing users should update:</a> proxy.conf - Mitigate <a href=https://httpoxy.org/ >https://httpoxy.org/</a> vulnerabilities. Ref: <a href=https://www.nginx.com/blog/mitigating-the-httpoxy-vulnerability-with-nginx#Defeating-the-Attack-using-NGINX-and-NGINX-Plus>https://www.nginx.com/blog/mitigating-the-httpoxy-vulnerability-with-nginx#Defeating-the-Attack-using-NGINX-and-NGINX-Plus</a></li> <li><strong>23.10.21:</strong> - Fix Hurricane Electric (HE) DNS validation.</li> <li><strong>12.10.21:</strong> - Fix deprecated LE root cert check to fix failures when using <code>STAGING=true</code>, and failures in revoking.</li> <li><strong>06.10.21:</strong> - Added support for Hurricane Electric (HE) DNS validation. Added lxml build deps.</li> <li><strong>01.10.21:</strong> - Check if the cert uses the old LE root cert, revoke and regenerate if necessary. <a href=https://twitter.com/letsencrypt/status/1443621997288767491>Here's more info</a> on LE root cert expiration</li> <li><strong>19.09.21:</strong> - Add an optional header to opt out of Google FLoC in <code>ssl.conf</code>.</li> <li><strong>17.09.21:</strong> - Mark <code>SUBDOMAINS</code> var as optional.</li> <li><strong>01.08.21:</strong> - Add support for ionos dns validation.</li> <li><strong>15.07.21:</strong> - Fix libmaxminddb issue due to upstream change.</li> <li><strong>07.07.21:</strong> - Rebase to alpine 3.14.</li> <li><strong>24.06.21:</strong> - Update default nginx conf folder.</li> <li><strong>28.05.21:</strong> - <a href=https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs>Existing users should update:</a> authelia-server.conf - Use <code>resolver.conf</code> and patch for <code>CVE-2021-32637</code>.</li> <li><strong>20.05.21:</strong> - Modify resolver.conf generation to detect and ignore ipv6.</li> <li><strong>14.05.21:</strong> - <a href=https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs>Existing users should update:</a> nginx.conf, ssl.conf, proxy.conf, and the default site-conf - Rework nginx.conf to be inline with alpine upstream and relocate lines from other files. Use linuxserver.io wheel index for pip packages. Switch to using <a href=https://ssl-config.mozilla.org/ffdhe4096.txt>ffdhe4096</a> for <code>dhparams.pem</code> per <a href=https://datatracker.ietf.org/doc/html/rfc7919>RFC7919</a>. Added <code>worker_processes.conf</code>, which sets the number of nginx workers, and <code>resolver.conf</code>, which sets the dns resolver. Both conf files are auto-generated only on first start and can be user modified later.</li> <li><strong>21.04.21:</strong> - <a href=https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs>Existing users should update:</a> authelia-server.conf and authelia-location.conf - Add remote name/email headers and pass http method.</li> <li><strong>12.04.21:</strong> - Add php7-gmp and php7-pecl-mailparse.</li> <li><strong>12.04.21:</strong> - Add support for vultr dns validation.</li> <li><strong>14.03.21:</strong> - Add support for directadmin dns validation.</li> <li><strong>12.02.21:</strong> - Clean up rust/cargo cache, which ballooned the image size in the last couple of builds.</li> <li><strong>10.02.21:</strong> - Fix aliyun, domeneshop, inwx and transip dns confs for existing users.</li> <li><strong>09.02.21:</strong> - Rebasing to alpine 3.13. Add nginx mods brotli and dav-ext. Remove nginx mods lua and lua-upstream (due to regression over the last couple of years).</li> <li><strong>26.01.21:</strong> - Add support for hetzner dns validation.</li> <li><strong>20.01.21:</strong> - Add check for ZeroSSL EAB retrieval.</li> <li><strong>08.01.21:</strong> - Add support for getting certs from <a href=https://zerossl.com/ >ZeroSSL</a> via optional <code>CERTPROVIDER</code> env var. Update aliyun, domeneshop, inwx and transip dns plugins with the new plugin names. Hide <code>donoteditthisfile.conf</code> because users were editing it despite its name. Suppress harmless error when no proxy confs are enabled.</li> <li><strong>03.01.21:</strong> - <a href=https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs>Existing users should update:</a> /config/nginx/site-confs/default.conf - Add helper pages to aid troubleshooting</li> <li><strong>10.12.20:</strong> - Add support for njalla dns validation</li> <li><strong>09.12.20:</strong> - Check for template/conf updates and notify in the log. Add support for gehirn and sakuracloud dns validation.</li> <li><strong>01.11.20:</strong> - Add support for netcup dns validation</li> <li><strong>29.10.20:</strong> - <a href=https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs>Existing users should update:</a> ssl.conf - Add frame-ancestors to Content-Security-Policy.</li> <li><strong>04.10.20:</strong> - <a href=https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs>Existing users should update:</a> nginx.conf, proxy.conf, and ssl.conf - Minor cleanups and reordering.</li> <li><strong>20.09.20:</strong> - <a href=https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs>Existing users should update:</a> nginx.conf - Added geoip2 configs. Added MAXMINDDB_LICENSE_KEY variable to readme.</li> <li><strong>08.09.20:</strong> - Add php7-xsl.</li> <li><strong>01.09.20:</strong> - <a href=https://github.com/linuxserver/docker-swag/blob/master/README.md#updating-configs>Existing users should update:</a> nginx.conf, proxy.conf, and various proxy samples - Global websockets across all configs.</li> <li><strong>03.08.20:</strong> - Initial release.</li> </ul> </article> </div> </div> </main> <footer class=md-footer> <div class="md-footer-meta md-typeset"> <div class="md-footer-meta__inner md-grid"> <div class=md-copyright> <div class=md-copyright__highlight> Copyright &copy; 2022 LinuxServer.io </div> Made with <a href=https://squidfunk.github.io/mkdocs-material/ target=_blank rel=noopener> Material for MkDocs </a> </div> <div class=md-social> <a href=https://github.com/linuxserver target=_blank rel=noopener title=github.com class=md-social__link> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 448 512"><!-- Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM277.3 415.7c-8.4 1.5-11.5-3.7-11.5-8 0-5.4.2-33 .2-55.3 0-15.6-5.2-25.5-11.3-30.7 37-4.1 76-9.2 76-73.1 0-18.2-6.5-27.3-17.1-39 1.7-4.3 7.4-22-1.7-45-13.9-4.3-45.7 17.9-45.7 17.9-13.2-3.7-27.5-5.6-41.6-5.6-14.1 0-28.4 1.9-41.6 5.6 0 0-31.8-22.2-45.7-17.9-9.1 22.9-3.5 40.6-1.7 45-10.6 11.7-15.6 20.8-15.6 39 0 63.6 37.3 69 74.3 73.1-4.8 4.3-9.1 11.7-10.6 22.3-9.5 4.3-33.8 11.7-48.3-13.9-9.1-15.8-25.5-17.1-25.5-17.1-16.2-.2-1.1 10.2-1.1 10.2 10.8 5 18.4 24.2 18.4 24.2 9.7 29.7 56.1 19.7 56.1 19.7 0 13.9.2 36.5.2 40.6 0 4.3-3 9.5-11.5 8-66-22.1-112.2-84.9-112.2-158.3 0-91.8 70.2-161.5 162-161.5S388 165.6 388 257.4c.1 73.4-44.7 136.3-110.7 158.3zm-98.1-61.1c-1.9.4-3.7-.4-3.9-1.7-.2-1.5 1.1-2.8 3-3.2 1.9-.2 3.7.6 3.9 1.9.3 1.3-1 2.6-3 3zm-9.5-.9c0 1.3-1.5 2.4-3.5 2.4-2.2.2-3.7-.9-3.7-2.4 0-1.3 1.5-2.4 3.5-2.4 1.9-.2 3.7.9 3.7 2.4zm-13.7-1.1c-.4 1.3-2.4 1.9-4.1 1.3-1.9-.4-3.2-1.9-2.8-3.2.4-1.3 2.4-1.9 4.1-1.5 2 .6 3.3 2.1 2.8 3.4zm-12.3-5.4c-.9 1.1-2.8.9-4.3-.6-1.5-1.3-1.9-3.2-.9-4.1.9-1.1 2.8-.9 4.3.6 1.3 1.3 1.8 3.3.9 4.1zm-9.1-9.1c-.9.6-2.6 0-3.7-1.5s-1.1-3.2 0-3.9c1.1-.9 2.8-.2 3.7 1.3 1.1 1.5 1.1 3.3 0 4.1zm-6.5-9.7c-.9.9-2.4.4-3.5-.6-1.1-1.3-1.3-2.8-.4-3.5.9-.9 2.4-.4 3.5.6 1.1 1.3 1.3 2.8.4 3.5zm-6.7-7.4c-.4.9-1.7 1.1-2.8.4-1.3-.6-1.9-1.7-1.5-2.6.4-.6 1.5-.9 2.8-.4 1.3.7 1.9 1.8 1.5 2.6z"/></svg> </a> <a href=https://gitlab.com/linuxserver.io target=_blank rel=noopener title=gitlab.com class=md-social__link> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 448 512"><!-- Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M48 32h352c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48zm334.1 192.9-44.6-116.4c-.9-2.3-2.6-4.3-4.6-5.6-1.6-1-3.4-1.6-5.2-1.8-1.8-.2-3.7.1-5.4.7-1.7.7-3.3 1.7-4.5 3.1-1.2 1.4-2.1 3-2.6 4.8L285 201.9H162.1l-29.2-92.2c-.5-1.8-1.5-3.4-2.7-4.8-2.1-1.3-2.8-2.4-4.5-3-2.6-.7-3.6-1.8-5.4-.8-1.8.2-3.6.8-5.2 1.8-2 1.3-3.6 3.3-4.5 5.6L65.94 224.9l-.47 1.2a82.94 82.94 0 0 0-2.25 52.5c4.96 17.3 15.4 32.5 29.75 43.3l.17.1.38.3 67.88 50.9 54.2 40.9c1.5 1 5.3 2.8 8.3 2.8 3 0 6-1.8 8.4-2.8l54.1-40.9 68.4-51.2.2-.1c14.4-10.9 24.8-26.1 29.8-43.3 4.9-17.3 3.3-35.7-2.3-52.5l-.4-1.2z"/></svg> </a> <a href=https://twitter.com/linuxserverio target=_blank rel=noopener title=twitter.com class=md-social__link> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 448 512"><!-- Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-48.9 158.8c.2 2.8.2 5.7.2 8.5 0 86.7-66 186.6-186.6 186.6-37.2 0-71.7-10.8-100.7-29.4 5.3.6 10.4.8 15.8.8 30.7 0 58.9-10.4 81.4-28-28.8-.6-53-19.5-61.3-45.5 10.1 1.5 19.2 1.5 29.6-1.2-30-6.1-52.5-32.5-52.5-64.4v-.8c8.7 4.9 18.9 7.9 29.6 8.3a65.447 65.447 0 0 1-29.2-54.6c0-12.2 3.2-23.4 8.9-33.1 32.3 39.8 80.8 65.8 135.2 68.6-9.3-44.5 24-80.6 64-80.6 18.9 0 35.9 7.9 47.9 20.7 14.8-2.8 29-8.3 41.6-15.8-4.9 15.2-15.2 28-28.8 36.1 13.2-1.4 26-5.1 37.8-10.2-8.9 13.1-20.1 24.7-32.9 34z"/></svg> </a> </div> </div> </div> </footer> </div> <div class=md-dialog data-md-component=dialog> <div class="md-dialog__inner md-typeset"></div> </div> <script id=__config type=application/json>{"base": "../..", "features": ["navigation.instant"], "search": "../../assets/javascripts/workers/search.208ed371.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script> <script src=../../assets/javascripts/bundle.b4d07000.min.js></script> </body> </html>