Free main port from nginx

This commit is contained in:
Alexandre
2022-12-28 22:25:56 +01:00
parent e01a4a91d6
commit 6844cda185
2 changed files with 8 additions and 7 deletions

View File

@@ -43,7 +43,6 @@
"environment": { "environment": {
"PAPERLESS_ADMIN_PASSWORD": "admin", "PAPERLESS_ADMIN_PASSWORD": "admin",
"PAPERLESS_ADMIN_USER": "admin", "PAPERLESS_ADMIN_USER": "admin",
"PAPERLESS_PORT": "8001",
"PGID": "0", "PGID": "0",
"PUID": "0" "PUID": "0"
}, },
@@ -69,10 +68,12 @@
"ssl": true "ssl": true
}, },
"ports": { "ports": {
"8000/tcp": 8011 "8000/tcp": 8011,
"8443/tcp": null
}, },
"ports_description": { "ports_description": {
"8000/tcp": "web interface" "8000/tcp": "Http web interface",
"8443/tcp": "Https web interface"
}, },
"privileged": [ "privileged": [
"SYS_ADMIN", "SYS_ADMIN",
@@ -100,6 +101,6 @@
], ],
"slug": "paperless_ng", "slug": "paperless_ng",
"url": "https://github.com/alexbelgium/hassio-addons", "url": "https://github.com/alexbelgium/hassio-addons",
"version": "1.10.2-5", "version": "1.10.2-6",
"webui": "[PROTO:ssl]://[HOST]:[PORT:8000]" "webui": "http://[HOST]:[PORT:8000]"
} }

View File

@@ -1,5 +1,5 @@
server { server {
listen 8000 default_server ssl; listen 8443 default_server ssl;
include /etc/nginx/includes/server_params.conf; include /etc/nginx/includes/server_params.conf;
include /etc/nginx/includes/ssl_params.conf; include /etc/nginx/includes/ssl_params.conf;
@@ -10,7 +10,7 @@ server {
location / { location / {
# Adjust host and port as required. # 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. # These configuration options are required for WebSockets to work.
proxy_http_version 1.1; proxy_http_version 1.1;