office-addin-https-reverse-proxy
v0.1.1
Published
For create https reverse proxy when developing Office Add-ins.
Downloads
20
Readme
Office-Addin-HTTPS-Reverse-Proxy
This package can be used to create HTTPS reverse proxy for development server using https://localhost.
Installation
npm install office-addin-https-reverse-proxy
Create certificates
Before use this package, please make sure you have HTTPS certificate created. If not, you could run
npx office-addin-dev-certs install --days 365
to create certificate. The tool will create certificates under the profile folder, such as C:\Users\<username>\.office-addin-dev-certs
.
localhost.crt
localhost.key
Command-Line Interface
Usage: office-addin-https-reverse-proxy [options]
Options:
-p, --port <port> HTTPS port (default: 443)
-c, --certfile <certfile> certificiate file path (default:
"<profile-home-directory>/.office-addin-dev-certs/localhost.crt")
-k, --keyfile <keyfile> certificate key file path (default:
"<profile-home-directory>/.office-addin-dev-certs\\localhost.key")
-u, --url <url> target url (default: "http://localhost:8888")
-h, --help display help for command