Compare commits

..

13 Commits

Author SHA1 Message Date
LinuxServer-CI
9b39eaea1f Bot Updating Package Versions 2020-09-22 10:05:57 +00:00
LinuxServer-CI
e7ee9431b5 Bot Updating Package Versions 2020-09-14 03:55:13 +01:00
Eric Nemchik
68206cda11 Merge pull request #9 from linuxserver/xsl
Add php7-xsl
2020-09-13 21:44:32 -05:00
aptalca
1b58f469a3 Add php7-xsl 2020-09-08 08:15:34 -04:00
LinuxServer-CI
3601dfbe81 Bot Updating Package Versions 2020-09-08 05:12:24 +00:00
aptalca
4a043060a6 Merge pull request #7 from linuxserver/websocket-proxying
WebSocket proxying
2020-09-08 01:01:17 -04:00
Eric Nemchik
c67946115a Update nginx.conf
Fix indentation
2020-09-07 22:20:57 -05:00
Eric Nemchik
596acd2d7a Version dates on confs 2020-09-01 13:16:31 -05:00
Eric Nemchik
93c259ee2f Update readme and changelog 2020-09-01 12:24:36 -05:00
Eric Nemchik
9f1cc323b1 WebSocket proxying
http://nginx.org/en/docs/http/websocket.html
2020-09-01 09:02:42 -05:00
LinuxServer-CI
055801b05b Bot Updating Package Versions 2020-09-01 06:06:07 -04:00
LinuxServer-CI
16f4b226a3 Bot Updating Package Versions 2020-08-27 20:24:50 +00:00
LinuxServer-CI
91497c3479 Bot Updating Package Versions 2020-08-25 10:09:54 +00:00
8 changed files with 100 additions and 59 deletions

View File

@@ -79,6 +79,7 @@ RUN \
php7-xml \ php7-xml \
php7-xmlreader \ php7-xmlreader \
php7-xmlrpc \ php7-xmlrpc \
php7-xsl \
php7-zip \ php7-zip \
py3-cryptography \ py3-cryptography \
py3-future \ py3-future \

View File

@@ -79,6 +79,7 @@ RUN \
php7-xml \ php7-xml \
php7-xmlreader \ php7-xmlreader \
php7-xmlrpc \ php7-xmlrpc \
php7-xsl \
php7-zip \ php7-zip \
py3-cryptography \ py3-cryptography \
py3-future \ py3-future \

View File

@@ -79,6 +79,7 @@ RUN \
php7-xml \ php7-xml \
php7-xmlreader \ php7-xmlreader \
php7-xmlrpc \ php7-xmlrpc \
php7-xsl \
php7-zip \ php7-zip \
py3-cryptography \ py3-cryptography \
py3-future \ py3-future \

View File

@@ -231,6 +231,18 @@ This will *ask* Google et al not to index and list your site. Be careful with th
* You can check the status of a specific jail via `docker exec -it swag fail2ban-client status <jail name>` * You can check the status of a specific jail via `docker exec -it swag fail2ban-client status <jail name>`
* You can unban an IP via `docker exec -it swag fail2ban-client set <jail name> unbanip <IP>` * You can unban an IP via `docker exec -it swag fail2ban-client set <jail name> unbanip <IP>`
* A list of commands can be found here: https://www.fail2ban.org/wiki/index.php/Commands * A list of commands can be found here: https://www.fail2ban.org/wiki/index.php/Commands
### Updating configs
* This container creates a number of configs for nginx, proxy samples, etc.
* Config updates are noted in the changelog but not automatically applied to your files.
* If you have modified a file with noted changes in the changelog:
1. Keep your existing configs as is (not broken, don't fix)
2. Review our repository commits and apply the new changes yourself
3. Delete the modified config file with listed updates, restart the container, reapply your changes
* If you have NOT modified a file with noted changes in the changelog:
1. Delete the config file with listed updates, restart the container, reapply your changes
* Proxy sample updates are not listed in the changelog. See the changes here: [https://github.com/linuxserver/reverse-proxy-confs/commits/master](https://github.com/linuxserver/reverse-proxy-confs/commits/master)
* Proxy sample files WILL be updated, however your renamed (enabled) proxy files will not.
* You can check the new sample and adjust your active config as needed.
## Docker Mods ## Docker Mods
@@ -303,4 +315,6 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions ## Versions
* **08.09.20:** - Add php7-xsl.
* **01.09.20:** - Update nginx.conf and proxy.conf (and various proxy samples) to better handle websockets.
* **03.08.20:** - Initial release. * **03.08.20:** - Initial release.

View File

@@ -12,7 +12,7 @@ c-client-2007f-r11
ca-certificates-20191127-r4 ca-certificates-20191127-r4
ca-certificates-bundle-20191127-r4 ca-certificates-bundle-20191127-r4
coreutils-8.32-r0 coreutils-8.32-r0
curl-7.69.1-r0 curl-7.69.1-r1
db-5.3.28-r1 db-5.3.28-r1
expat-2.2.9-r1 expat-2.2.9-r1
fail2ban-0.11.1-r3 fail2ban-0.11.1-r3
@@ -20,13 +20,13 @@ freetype-2.10.2-r0
gdbm-1.13-r1 gdbm-1.13-r1
git-2.26.2-r0 git-2.26.2-r0
git-perl-2.26.2-r0 git-perl-2.26.2-r0
glib-2.64.4-r0 glib-2.64.5-r0
gmp-6.2.0-r0 gmp-6.2.0-r0
gnupg-2.2.20-r0 gnupg-2.2.23-r0
gnutls-3.6.14-r0 gnutls-3.6.15-r0
icu-libs-67.1-r0 icu-libs-67.1-r0
ip6tables-1.8.4-r1 ip6tables-1.8.4-r2
iptables-1.8.4-r1 iptables-1.8.4-r2
libacl-2.2.53-r0 libacl-2.2.53-r0
libassuan-2.5.3-r0 libassuan-2.5.3-r0
libattr-2.4.48-r0 libattr-2.4.48-r0
@@ -36,7 +36,7 @@ libbz2-1.0.8-r1
libc-utils-0.7.2-r3 libc-utils-0.7.2-r3
libcap-2.27-r0 libcap-2.27-r0
libcrypto1.1-1.1.1g-r0 libcrypto1.1-1.1.1g-r0
libcurl-7.69.1-r0 libcurl-7.69.1-r1
libedit-20191231.3.1-r0 libedit-20191231.3.1-r0
libevent-2.1.11-r1 libevent-2.1.11-r1
libffi-3.3-r2 libffi-3.3-r2
@@ -58,7 +58,7 @@ libmnl-1.0.4-r0
libmount-2.35.2-r0 libmount-2.35.2-r0
libnftnl-libs-1.1.6-r0 libnftnl-libs-1.1.6-r0
libpng-1.6.37-r1 libpng-1.6.37-r1
libpq-12.3-r2 libpq-12.4-r0
libproc-3.3.16-r0 libproc-3.3.16-r0
libressl3.1-libcrypto-3.1.2-r0 libressl3.1-libcrypto-3.1.2-r0
libressl3.1-libssl-3.1.2-r0 libressl3.1-libssl-3.1.2-r0
@@ -74,12 +74,12 @@ libtls-standalone-2.9.1-r1
libunistring-0.9.10-r0 libunistring-0.9.10-r0
libuuid-2.35.2-r0 libuuid-2.35.2-r0
libwebp-1.1.0-r0 libwebp-1.1.0-r0
libx11-1.6.11-r0 libx11-1.6.12-r0
libxau-1.0.9-r0 libxau-1.0.9-r0
libxcb-1.14-r1 libxcb-1.14-r1
libxdmcp-1.1.3-r0 libxdmcp-1.1.3-r0
libxext-1.3.4-r0 libxext-1.3.4-r0
libxml2-2.9.10-r4 libxml2-2.9.10-r5
libxpm-3.5.13-r0 libxpm-3.5.13-r0
libxslt-1.1.34-r0 libxslt-1.1.34-r0
libxt-1.2.0-r0 libxt-1.2.0-r0
@@ -123,54 +123,55 @@ pcre2-10.35-r0
perl-5.30.3-r0 perl-5.30.3-r0
perl-error-0.17029-r0 perl-error-0.17029-r0
perl-git-2.26.2-r0 perl-git-2.26.2-r0
php7-7.3.21-r0 php7-7.3.22-r0
php7-bcmath-7.3.21-r0 php7-bcmath-7.3.22-r0
php7-bz2-7.3.21-r0 php7-bz2-7.3.22-r0
php7-common-7.3.21-r0 php7-common-7.3.22-r0
php7-ctype-7.3.21-r0 php7-ctype-7.3.22-r0
php7-curl-7.3.21-r0 php7-curl-7.3.22-r0
php7-dom-7.3.21-r0 php7-dom-7.3.22-r0
php7-exif-7.3.21-r0 php7-exif-7.3.22-r0
php7-fileinfo-7.3.21-r0 php7-fileinfo-7.3.22-r0
php7-fpm-7.3.21-r0 php7-fpm-7.3.22-r0
php7-ftp-7.3.21-r0 php7-ftp-7.3.22-r0
php7-gd-7.3.21-r0 php7-gd-7.3.22-r0
php7-iconv-7.3.21-r0 php7-iconv-7.3.22-r0
php7-imap-7.3.21-r0 php7-imap-7.3.22-r0
php7-intl-7.3.21-r0 php7-intl-7.3.22-r0
php7-json-7.3.21-r0 php7-json-7.3.22-r0
php7-ldap-7.3.21-r0 php7-ldap-7.3.22-r0
php7-mbstring-7.3.21-r0 php7-mbstring-7.3.22-r0
php7-mysqli-7.3.21-r0 php7-mysqli-7.3.22-r0
php7-mysqlnd-7.3.21-r0 php7-mysqlnd-7.3.22-r0
php7-opcache-7.3.21-r0 php7-opcache-7.3.22-r0
php7-openssl-7.3.21-r0 php7-openssl-7.3.22-r0
php7-pdo-7.3.21-r0 php7-pdo-7.3.22-r0
php7-pdo_mysql-7.3.21-r0 php7-pdo_mysql-7.3.22-r0
php7-pdo_odbc-7.3.21-r0 php7-pdo_odbc-7.3.22-r0
php7-pdo_pgsql-7.3.21-r0 php7-pdo_pgsql-7.3.22-r0
php7-pdo_sqlite-7.3.21-r0 php7-pdo_sqlite-7.3.22-r0
php7-pear-7.3.21-r0 php7-pear-7.3.22-r0
php7-pecl-apcu-5.1.18-r0 php7-pecl-apcu-5.1.18-r0
php7-pecl-igbinary-3.1.4-r0 php7-pecl-igbinary-3.1.4-r0
php7-pecl-mcrypt-1.0.3-r0 php7-pecl-mcrypt-1.0.3-r0
php7-pecl-memcached-3.1.5-r0 php7-pecl-memcached-3.1.5-r0
php7-pecl-redis-5.2.2-r1 php7-pecl-redis-5.2.2-r1
php7-pgsql-7.3.21-r0 php7-pgsql-7.3.22-r0
php7-phar-7.3.21-r0 php7-phar-7.3.22-r0
php7-posix-7.3.21-r0 php7-posix-7.3.22-r0
php7-session-7.3.21-r0 php7-session-7.3.22-r0
php7-simplexml-7.3.21-r0 php7-simplexml-7.3.22-r0
php7-soap-7.3.21-r0 php7-soap-7.3.22-r0
php7-sockets-7.3.21-r0 php7-sockets-7.3.22-r0
php7-sodium-7.3.21-r0 php7-sodium-7.3.22-r0
php7-sqlite3-7.3.21-r0 php7-sqlite3-7.3.22-r0
php7-tokenizer-7.3.21-r0 php7-tokenizer-7.3.22-r0
php7-xml-7.3.21-r0 php7-xml-7.3.22-r0
php7-xmlreader-7.3.21-r0 php7-xmlreader-7.3.22-r0
php7-xmlrpc-7.3.21-r0 php7-xmlrpc-7.3.22-r0
php7-xmlwriter-7.3.21-r0 php7-xmlwriter-7.3.22-r0
php7-zip-7.3.21-r0 php7-xsl-7.3.22-r0
php7-zip-7.3.22-r0
pinentry-1.1.0-r2 pinentry-1.1.0-r2
popt-1.16-r7 popt-1.16-r7
procps-3.3.16-r0 procps-3.3.16-r0

View File

@@ -130,10 +130,24 @@ app_setup_block: |
* You can check the status of a specific jail via `docker exec -it swag fail2ban-client status <jail name>` * You can check the status of a specific jail via `docker exec -it swag fail2ban-client status <jail name>`
* You can unban an IP via `docker exec -it swag fail2ban-client set <jail name> unbanip <IP>` * You can unban an IP via `docker exec -it swag fail2ban-client set <jail name> unbanip <IP>`
* A list of commands can be found here: https://www.fail2ban.org/wiki/index.php/Commands * A list of commands can be found here: https://www.fail2ban.org/wiki/index.php/Commands
### Updating configs
* This container creates a number of configs for nginx, proxy samples, etc.
* Config updates are noted in the changelog but not automatically applied to your files.
* If you have modified a file with noted changes in the changelog:
1. Keep your existing configs as is (not broken, don't fix)
2. Review our repository commits and apply the new changes yourself
3. Delete the modified config file with listed updates, restart the container, reapply your changes
* If you have NOT modified a file with noted changes in the changelog:
1. Delete the config file with listed updates, restart the container, reapply your changes
* Proxy sample updates are not listed in the changelog. See the changes here: [https://github.com/linuxserver/reverse-proxy-confs/commits/master](https://github.com/linuxserver/reverse-proxy-confs/commits/master)
* Proxy sample files WILL be updated, however your renamed (enabled) proxy files will not.
* You can check the new sample and adjust your active config as needed.
app_setup_nginx_reverse_proxy_snippet: false app_setup_nginx_reverse_proxy_snippet: false
app_setup_nginx_reverse_proxy_block: "" app_setup_nginx_reverse_proxy_block: ""
# changelog # changelog
changelogs: changelogs:
- { date: "08.09.20:", desc: "Add php7-xsl." }
- { date: "01.09.20:", desc: "Update nginx.conf and proxy.conf (and various proxy samples) to better handle websockets." }
- { date: "03.08.20:", desc: "Initial release." } - { date: "03.08.20:", desc: "Initial release." }

View File

@@ -1,4 +1,4 @@
## Version 2019/12/19 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx.conf ## Version 2020/09/01 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx.conf
user abc; user abc;
worker_processes 4; worker_processes 4;
@@ -72,6 +72,14 @@ http {
#passenger_root /usr; #passenger_root /usr;
#passenger_ruby /usr/bin/ruby; #passenger_ruby /usr/bin/ruby;
##
# WebSocket proxying
##
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
## ##
# Virtual Host Configs # Virtual Host Configs
## ##

View File

@@ -1,4 +1,4 @@
## Version 2019/10/23 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/proxy.conf ## Version 2020/09/01 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/proxy.conf
client_body_buffer_size 128k; client_body_buffer_size 128k;
@@ -23,7 +23,8 @@ proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Ssl on; proxy_set_header X-Forwarded-Ssl on;
proxy_redirect http:// $scheme://; proxy_redirect http:// $scheme://;
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Connection ""; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
#proxy_cookie_path / "/; HTTPOnly; Secure"; # enable at your own risk, may break certain apps #proxy_cookie_path / "/; HTTPOnly; Secure"; # enable at your own risk, may break certain apps
proxy_cache_bypass $cookie_session; proxy_cache_bypass $cookie_session;
proxy_no_cache $cookie_session; proxy_no_cache $cookie_session;