Update security.md (#1302)

Moved to a new PR at main branch, to prevent merge conflicts.

Reference: https://github.com/openhab/openhab-docs/pull/1259 by @amil109 

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
pull/1297/head
Jerome Luckenbach 2020-12-10 22:03:32 +01:00 committed by GitHub
parent 0cd3f9136e
commit 6b6b8ec7ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -533,14 +533,14 @@ sudo nano /usr/local/etc/nginx/sites-enabled/openHAB-auth
server {
listen 2020; #This is simply an unused port, it can be any number
server_name dow-family-adsl.ddns.net;
server_name your_domain.com;
return 301 https://$server_name$request_uri;
}
server {
listen 7443 ssl; #This is simply an unused port, it can be any number
server_name dow-family-adsl.ddns.net;
server_name your_domain.com;
location / {
proxy_pass https://localhost:8443/; #Update the port number if needed