Script & Deps updated
This commit is contained in:
parent
d3df81c908
commit
cc9c738de2
8 changed files with 33 additions and 66 deletions
|
|
@ -1 +1 @@
|
|||
pkgs="openssl nginx"
|
||||
pkgs="openssl nginx python3-meshtastic python3-flask python3-requests"
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
###########################################################
|
||||
### ###
|
||||
### MESHPI NGINX CONFIG ###
|
||||
### ###
|
||||
###########################################################
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name DOMAIN IPADDR;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name DOMAIN IPADDR;
|
||||
|
||||
ssl_certificate /etc/nginx/ssl/CERTNAME.crt;
|
||||
ssl_certificate_key /etc/nginx/ssl/CERTNAME.key;
|
||||
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
|
||||
ssl_session_cache shared:SSL:10m;
|
||||
ssl_session_timeout 10m;
|
||||
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
root /var/www/html;
|
||||
index index.html;
|
||||
}
|
||||
}
|
||||
|
|
@ -14,8 +14,8 @@ server {
|
|||
listen 443 ssl;
|
||||
server_name DOMAIN IPADDR;
|
||||
|
||||
ssl_certificate CERTPATH;
|
||||
ssl_certificate_key CERTPATH;
|
||||
ssl_certificate CERTPATH.crt;
|
||||
ssl_certificate_key KEYPATH.key;
|
||||
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
|
|
@ -1 +0,0 @@
|
|||
bla
|
||||
|
|
@ -1 +0,0 @@
|
|||
bla
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
127.0.0.1 localhost
|
||||
127.0.1.1 bla.lan bla
|
||||
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
127.0.0.1 localhost
|
||||
127.0.1.1 bla.lan bla
|
||||
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
||||
Loading…
Add table
Add a link
Reference in a new issue