mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-18 10:28:17 +01:00
Free main port from nginx
This commit is contained in:
@@ -43,7 +43,6 @@
|
||||
"environment": {
|
||||
"PAPERLESS_ADMIN_PASSWORD": "admin",
|
||||
"PAPERLESS_ADMIN_USER": "admin",
|
||||
"PAPERLESS_PORT": "8001",
|
||||
"PGID": "0",
|
||||
"PUID": "0"
|
||||
},
|
||||
@@ -69,10 +68,12 @@
|
||||
"ssl": true
|
||||
},
|
||||
"ports": {
|
||||
"8000/tcp": 8011
|
||||
"8000/tcp": 8011,
|
||||
"8443/tcp": null
|
||||
},
|
||||
"ports_description": {
|
||||
"8000/tcp": "web interface"
|
||||
"8000/tcp": "Http web interface",
|
||||
"8443/tcp": "Https web interface"
|
||||
},
|
||||
"privileged": [
|
||||
"SYS_ADMIN",
|
||||
@@ -100,6 +101,6 @@
|
||||
],
|
||||
"slug": "paperless_ng",
|
||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
||||
"version": "1.10.2-5",
|
||||
"webui": "[PROTO:ssl]://[HOST]:[PORT:8000]"
|
||||
"version": "1.10.2-6",
|
||||
"webui": "http://[HOST]:[PORT:8000]"
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
server {
|
||||
listen 8000 default_server ssl;
|
||||
listen 8443 default_server ssl;
|
||||
|
||||
include /etc/nginx/includes/server_params.conf;
|
||||
include /etc/nginx/includes/ssl_params.conf;
|
||||
@@ -10,7 +10,7 @@ server {
|
||||
|
||||
location / {
|
||||
# Adjust host and port as required.
|
||||
proxy_pass http://127.0.0.1:8001/;
|
||||
proxy_pass http://127.0.0.1:8000/;
|
||||
|
||||
# These configuration options are required for WebSockets to work.
|
||||
proxy_http_version 1.1;
|
||||
|
||||
Reference in New Issue
Block a user