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