New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update deployment guide for different environments #207
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
src/docs/deployment.md
Outdated
1. You should now see your condition in the list. | ||
1. Scroll down to the Action section and enter these settings: | ||
1. Select Redirect as the Action type. | ||
1. Type https://<Replace with your host name>/ in the Redirect URL field. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you found a bunch of old bugs that show up as new due to indentation changes! Fixed anyway :)
src/docs/deployment.md
Outdated
1. Click "Back to Rules" | ||
1. Choose the ‘Add Rule’ action from the right pane of the management console, and select the ‘Reverse Proxy Rule’ from the ‘Inbound and Outbound Rules’ category. | ||
1. If asked to enable proxy functionality, click “OK”. | ||
1. Enter localhost:<Environment port> as where requests will be forwarded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is also weird, probably due to the <
and >
characters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
src/docs/deployment.md
Outdated
1. Click on enable SSL offloading. | ||
1. Click on Use Server Name Indication. | ||
1. In Outbound rules, Click on Rewrite domain names | ||
- From localhost:<Environment port> to <YourDomain> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
src/docs/deployment.md
Outdated
1. Specify https and hostname is <YourDomain> | ||
1. Save that | ||
1. This page should now show http and https bindings. Close the window. | ||
1. Visit http://<YourDomain> from a web browser other than the VM. Your browser should be redirected to https://<YourDomain> and it should use TLS to secure the website. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
src/docs/deployment.md
Outdated
1. Close Certify the Web | ||
1. Open “Internet Information Services (IIS) manager”: | ||
1. Do this N times (for each environment you want to create: production, test, etc.) inside of Certify the Web | ||
1. Add a reverse proxy in IIS from inbound port 80 to port <Environment port> in the VM and inbound port 443 to port <Environment port> in the VM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
src/docs/deployment.md
Outdated
1. Click “OK” when prompted to register a new contact. | ||
1. Enter an email address for the HIERR application administrator. Scott’s email is fine. | ||
1. Click “Yes, I agree” with the terms for the Let’s Encrypt certificate Authority, then click “Register Contact”. | ||
1. In the next window, select “Default web site”, type “<YourDomainForEnvironment>” in the “Add domains to certificate” field, then click the green Plus sign. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
src/docs/deployment.md
Outdated
// Windows | ||
npm run start -- --port=<Environment Port> | ||
``` | ||
1. Visit http://localhost:<Environment port> from the same computer and verify that you can see the HIERR application. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
src/docs/deployment.md
Outdated
1. In the Matched URL section: | ||
1. Set Requested URL: to Matches the Pattern. | ||
1. Set Using to Regular Expressions. | ||
1. Enter (.\*) as the Pattern. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
src/docs/deployment.md
Outdated
1. Turn off Output caching - turn off enable cache and enable kernel cache | ||
1. Turn on TLS on port 443. This will use [Server Name Indication](https://en.wikipedia.org/wiki/Server_Name_Indication) to use multiple TLS certs, one for each environment: | ||
1. Navigate to your website in IIS (left sidebar) and select “Bindings…” on the right hand side. | ||
1. Specify https and hostname is <YourDomain> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Updated deployment instructions per updated install on 2024-04-27.
Fully rendered markdown.