Get simpleid going with https (self signed)
diff --git a/nginx/sa.conf b/nginx/sa.conf
index addc763..de91126 100644
--- a/nginx/sa.conf
+++ b/nginx/sa.conf
@@ -1,5 +1,33 @@
server {
- listen 0.0.0.0:80;
+ listen 80;
+ listen [::]:80;
+
+ return 301 https://$host$request_uri;
+}
+
+server {
+ listen 443 ssl;
+ listen [::]:443 ssl;
+ ssl_certificate /etc/ssl/certs/sa-selfsigned.crt;
+ ssl_certificate_key /etc/ssl/private/sa-selfsigned.key;
+ ssl_protocols TLSv1.3;
+ ssl_prefer_server_ciphers on;
+ #ssl_dhparam /etc/nginx/dhparam.pem;
+ ssl_ciphers EECDH+AESGCM:EDH+AESGCM;
+ ssl_ecdh_curve secp384r1;
+ ssl_session_timeout 10m;
+ ssl_session_cache shared:SSL:10m;
+ ssl_session_tickets off;
+ ssl_stapling on;
+ ssl_stapling_verify on;
+ resolver 8.8.8.8 8.8.4.4 valid=300s;
+ resolver_timeout 5s;
+ # Disable strict transport security for now. You can uncomment the following
+ # line if you understand the implications.
+ #add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload";
+ add_header X-Frame-Options DENY;
+ add_header X-Content-Type-Options nosniff;
+ add_header X-XSS-Protection "1; mode=block";
server_name id.miau.local;