mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 13:14:21 +01:00
Update nginx (#662)
This commit is contained in:
@@ -1,19 +1,29 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2.2
|
||||||
|
|
||||||
|
- Fix issue with `homeassistant` connection
|
||||||
|
- Update nginx to version 1.16.1
|
||||||
|
|
||||||
## 2.1
|
## 2.1
|
||||||
|
|
||||||
- Update nginx to version 1.14.2
|
- Update nginx to version 1.14.2
|
||||||
|
|
||||||
## 2.0
|
## 2.0
|
||||||
|
|
||||||
- Update nginx to version 1.14.0
|
- Update nginx to version 1.14.0
|
||||||
|
|
||||||
## 1.2
|
## 1.2
|
||||||
|
|
||||||
- Modify `server_names_hash_bucket_size` to add support for longer domain names
|
- Modify `server_names_hash_bucket_size` to add support for longer domain names
|
||||||
|
|
||||||
## 1.1
|
## 1.1
|
||||||
|
|
||||||
- Update run.sh info messages
|
- Update run.sh info messages
|
||||||
- Make HSTS configurable and optional
|
- Make HSTS configurable and optional
|
||||||
|
|
||||||
## 1.0
|
## 1.0
|
||||||
|
|
||||||
- Add customization mechanism using included config snippets from /share
|
- Add customization mechanism using included config snippets from /share
|
||||||
- Optimize logo.png
|
- Optimize logo.png
|
||||||
- Update base image
|
- Update base image
|
||||||
|
|||||||
@@ -1,14 +1,11 @@
|
|||||||
ARG BUILD_FROM
|
ARG BUILD_FROM
|
||||||
FROM $BUILD_FROM
|
FROM $BUILD_FROM
|
||||||
|
|
||||||
# Add env
|
|
||||||
ENV LANG C.UTF-8
|
|
||||||
|
|
||||||
# Setup base
|
# Setup base
|
||||||
RUN apk add --no-cache nginx openssl
|
RUN apk add --no-cache nginx openssl
|
||||||
|
|
||||||
# Copy data
|
# Copy data
|
||||||
COPY run.sh /
|
COPY data/run.sh /
|
||||||
COPY nginx.conf /etc/
|
COPY data/nginx.conf /etc/
|
||||||
|
|
||||||
CMD [ "/run.sh" ]
|
CMD [ "/run.sh" ]
|
||||||
|
|||||||
9
nginx_proxy/build.json
Normal file
9
nginx_proxy/build.json
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"build_from": {
|
||||||
|
"amd64": "homeassistant/amd64-base:3.10",
|
||||||
|
"i386": "homeassistant/i386-base:3.10",
|
||||||
|
"armhf": "homeassistant/armhf-base:3.10",
|
||||||
|
"armv7": "homeassistant/armv7-base:3.10",
|
||||||
|
"aarch64": "homeassistant/aarch64-base:3.10"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -53,7 +53,7 @@ http {
|
|||||||
#include /share/nginx_proxy_default*.conf;
|
#include /share/nginx_proxy_default*.conf;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://homeassistant:8123;
|
proxy_pass http://homeassistant.local.hass.io:8123;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_redirect http:// https://;
|
proxy_redirect http:// https://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
Reference in New Issue
Block a user