structure change

This commit is contained in:
Fr4nz D13trich 2025-10-07 18:37:53 +02:00
parent 9ab332379e
commit 5941362f37
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,33 @@
###########################################################
### ###
### MESHPI NGINX CONFIG ###
### ###
###########################################################
server {
listen 80;
server_name meshpi.local 192.168.1.8;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name meshpi.local 192.168.1.8;
ssl_certificate /etc/nginx/ssl/meshpi.crt;
ssl_certificate_key /etc/nginx/ssl/meshpi.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;
}
}

View file

@ -0,0 +1,3 @@
#!/bin/bash
### SHELL TEMPLATE