Skip to content

Commit 46ab15d

Browse files
committed
server-ssl.js
/root │ ├── /error │ ├── 404.html │ └── 500.html │ ├── /ssl │ ├── /openssl │ │ │ ├── private-key.pem │ └── certificate.pem │ └── ssl.js │ ├── /website │ └── index.html <---- Your website goes here │ ├── server-ssl.js <--- server config └── start-windows.bat
1 parent ef1c90e commit 46ab15d

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The easiest usage would be to serve a website:
2222
4. Run `start-windows.bat`
2323
5. View your website at `https://localhost`
2424

25-
[![](https://i.imgur.com/YchiE6S.gif)](https://github.com/FirstTimeEZ/server-ssl/archive/refs/heads/main.zip)
25+
[![](https://i.imgur.com/EpUfaDC.gif)](https://github.com/FirstTimeEZ/server-ssl/archive/refs/heads/main.zip)
2626

2727
[![](https://i.imgur.com/DEbJVUq.png)](https://github.com/FirstTimeEZ/server-ssl/archive/refs/heads/main.zip)
2828

@@ -38,7 +38,7 @@ The easiest usage would be to serve a website:
3838
./start-windows.bat --cert="your-certificate.pem" --pk="your-private-key.pem"
3939
```
4040

41-
[![](https://i.imgur.com/C85fRQC.gif)](https://github.com/FirstTimeEZ/server-ssl/archive/refs/heads/main.zip)
41+
[![](https://i.imgur.com/94AOEVf.gif)](https://github.com/FirstTimeEZ/server-ssl/archive/refs/heads/main.zip)
4242

4343
### Optional Arguments
4444

start-windows.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ set "API=0"
1313
set "OPEN_SSL="
1414
set "OPEN_SSL_IN_PATH=0"
1515

16+
title Starting SSL Web Server
17+
1618
:loop
1719
if "%~1"=="" goto endloop
1820
if "%~1"=="--port" (
@@ -117,6 +119,7 @@ if %errorlevel% neq 0 ( echo Install Node.js and try again
117119
)
118120

119121
echo Starting SSL Web Server
122+
title SSL Web Server
120123
:restartLoop
121124
setlocal
122125

0 commit comments

Comments
 (0)