From c4d952430e2449cc79b1f52b07d845049bfdcfd6 Mon Sep 17 00:00:00 2001 From: Jarian Cottingham Date: Fri, 3 Jul 2026 01:14:04 +0000 Subject: [PATCH] update local changes --- Caddyfile-playground.ms | 15 +++++++++++++ landing/playground.ms.html | 12 +++++------ landing/playground.ms.key | 5 +++++ landing/playground.ms.pem | 12 +++++++++++ landing/www/playground.ms/index.html | 32 ++++++++++++++++++++++++++++ nginx-playground.ms | 26 ++++++++++++++++++++++ 6 files changed, 95 insertions(+), 7 deletions(-) create mode 100644 Caddyfile-playground.ms create mode 100644 landing/playground.ms.key create mode 100644 landing/playground.ms.pem create mode 100644 landing/www/playground.ms/index.html create mode 100644 nginx-playground.ms diff --git a/Caddyfile-playground.ms b/Caddyfile-playground.ms new file mode 100644 index 0000000..1814703 --- /dev/null +++ b/Caddyfile-playground.ms @@ -0,0 +1,15 @@ +{ + admin off +} + +example.com, www.example.com { + encode gzip + tls /etc/ssl/certs/example.com.pem /etc/ssl/private/example.com.key + + root * /var/www/example.com + file_server browse +} + +:80 { + redir https://{host}{uri} permanent +} \ No newline at end of file diff --git a/landing/playground.ms.html b/landing/playground.ms.html index e585388..11ff982 100644 --- a/landing/playground.ms.html +++ b/landing/playground.ms.html @@ -3,7 +3,7 @@ - Playground + Playground Network + + +
+

Playground Network

+ +
+ + \ No newline at end of file diff --git a/nginx-playground.ms b/nginx-playground.ms new file mode 100644 index 0000000..42ae04a --- /dev/null +++ b/nginx-playground.ms @@ -0,0 +1,26 @@ +# ============================================================ +# example.com - Main landing page (HTTPS) +# ============================================================ +server { + listen 443 ssl; + server_name example.com www.example.com; + + ssl_certificate /etc/ssl/certs/example.com.pem; + ssl_certificate_key /etc/ssl/private/example.com.key; + ssl_protocols TLSv1.2 TLSv1.3; + ssl_ciphers HIGH:!aNULL:!MD5; + + root /var/www/example.com; + index index.html index.htm; + + location / { + try_files $uri $uri/ =404; + } +} + +# HTTP -> HTTPS redirect for example.com +server { + listen 80; + server_name example.com www.example.com; + return 301 https://$host$request_uri; +} \ No newline at end of file