Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.

Commit 228c28a

Browse files
authored
Merge pull request #315 from linuxserver/LICENSE_EXCLUDE
Exclude LICENSE from proxy conf folders.
2 parents b689feb + 947eaf9 commit 228c28a

File tree

6 files changed

+9
-5
lines changed

6 files changed

+9
-5
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ RUN \
103103
"https://github.com/linuxserver/reverse-proxy-confs/tarball/master" && \
104104
tar xf \
105105
/tmp/proxy.tar.gz -C \
106-
/defaults/proxy-confs --strip-components=1 --exclude=linux*/.gitattributes --exclude=linux*/.github && \
106+
/defaults/proxy-confs --strip-components=1 --exclude=linux*/.gitattributes --exclude=linux*/.github --exclude=linux*/.gitignore --exclude=linux*/LICENSE && \
107107
echo "**** configure nginx ****" && \
108108
rm -f /etc/nginx/conf.d/default.conf && \
109109
echo "**** cleanup ****" && \

Dockerfile.aarch64

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ RUN \
103103
"https://github.com/linuxserver/reverse-proxy-confs/tarball/master" && \
104104
tar xf \
105105
/tmp/proxy.tar.gz -C \
106-
/defaults/proxy-confs --strip-components=1 --exclude=linux*/.gitattributes --exclude=linux*/.github && \
106+
/defaults/proxy-confs --strip-components=1 --exclude=linux*/.gitattributes --exclude=linux*/.github --exclude=linux*/.gitignore --exclude=linux*/LICENSE && \
107107
echo "**** configure nginx ****" && \
108108
rm -f /etc/nginx/conf.d/default.conf && \
109109
echo "**** cleanup ****" && \

Dockerfile.armhf

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ RUN \
103103
"https://github.com/linuxserver/reverse-proxy-confs/tarball/master" && \
104104
tar xf \
105105
/tmp/proxy.tar.gz -C \
106-
/defaults/proxy-confs --strip-components=1 --exclude=linux*/.gitattributes --exclude=linux*/.github && \
106+
/defaults/proxy-confs --strip-components=1 --exclude=linux*/.gitattributes --exclude=linux*/.github --exclude=linux*/.gitignore --exclude=linux*/LICENSE && \
107107
echo "**** configure nginx ****" && \
108108
rm -f /etc/nginx/conf.d/default.conf && \
109109
echo "**** cleanup ****" && \

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as bel
166166
* 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 [linuxserver/ldap-auth](https://hub.docker.com/r/linuxserver/ldap-auth/) to communicate with an ldap server.
167167
### Site config and reverse proxy
168168
* The default site config resides at `/config/nginx/site-confs/default`. Feel free to modify this file, and you can add other conf files to this directory. However, if you delete the `default` file, a new default will be created on container start.
169-
* Preset reverse proxy config files are added for popular apps. See the `_readme` file under `/config/nginx/proxy_confs` for instructions on how to enable them
169+
* Preset reverse proxy config files are added for popular apps. See the `README.md` file under `/config/nginx/proxy_confs` for instructions on how to enable them. The preset confs reside in and get imported from [this repo](https://github.com/linuxserver/reverse-proxy-confs).
170170
* 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
171171
`add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive";`
172172
This will *ask* 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
@@ -254,6 +254,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
254254

255255
## Versions
256256

257+
* **29.05.19:** - Compensate for changes to the reverse-proxy-confs repo.
257258
* **26.05.19:** - Remove botocore/urllib patch.
258259
* **08.05.19:** - Remove default.conf when nginx is upgraded in downstream image.
259260
* **30.04.19:** - Add php-redis.

readme-vars.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ app_setup_block: |
9696
* 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 [linuxserver/ldap-auth](https://hub.docker.com/r/linuxserver/ldap-auth/) to communicate with an ldap server.
9797
### Site config and reverse proxy
9898
* The default site config resides at `/config/nginx/site-confs/default`. Feel free to modify this file, and you can add other conf files to this directory. However, if you delete the `default` file, a new default will be created on container start.
99-
* Preset reverse proxy config files are added for popular apps. See the `_readme` file under `/config/nginx/proxy_confs` for instructions on how to enable them
99+
* Preset reverse proxy config files are added for popular apps. See the `README.md` file under `/config/nginx/proxy_confs` for instructions on how to enable them. The preset confs reside in and get imported from [this repo](https://github.com/linuxserver/reverse-proxy-confs).
100100
* 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
101101
`add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive";`
102102
This will *ask* 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
@@ -126,6 +126,7 @@ app_setup_nginx_reverse_proxy_block: ""
126126

127127
# changelog
128128
changelogs:
129+
- { date: "29.05.19:", desc: "Compensate for changes to the reverse-proxy-confs repo." }
129130
- { date: "26.05.19:", desc: "Remove botocore/urllib patch." }
130131
- { date: "08.05.19:", desc: "Remove default.conf when nginx is upgraded in downstream image." }
131132
- { date: "30.04.19:", desc: "Add php-redis." }

root/etc/cont-init.d/50-config

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ chown -R abc:abc /config/dns-conf
4646

4747
# copy reverse proxy configs
4848
cp -R /defaults/proxy-confs /config/nginx/
49+
# remove outdated files (remove this action after 2019/08/29)
50+
rm -f /config/nginx/proxy-confs/_readme /config/nginx/proxy-confs/mytinytodo.subfolder.conf.example
4951

5052
# copy/update the fail2ban config defaults to/in /config
5153
cp -R /defaults/fail2ban/filter.d /config/fail2ban/

0 commit comments

Comments
 (0)