feat: route VIF production traffic#4
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR extends the shared production Nginx proxy stack to route traffic for vif.io by adding a dedicated Nginx site template, wiring the proxy service into the VIF application overlay network, and ensuring the new template is included in the deployment bundle.
Changes:
- Added a new
vif.ioNginx vhost template with HTTP→HTTPS redirect, ACME challenge handling, and HTTPS reverse proxying to the VIF upstream. - Connected the proxy to a new external production overlay network (
vif_prod_app) for service discovery to the VIF upstream. - Updated the GitHub Actions deployment workflow to require and deploy the VIF network configuration and template.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
sites/vif-prod.conf.template |
Adds Nginx vhost config for vif.io (ACME + redirect + TLS reverse proxy). |
envs/production/compose.yml |
Declares the external vif_prod_app overlay network for production deploys. |
envs/production/.env.proxy |
Adds production VIF_* environment variables (server name, upstream, TLS paths). |
compose.yml |
Bundles the new VIF site template config and attaches Nginx to vif_prod_app. |
.github/workflows/manual-deploy.yml |
Includes VIF template in the deployment bundle and requires the VIF network secret. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
DEPLOY_SSH_USER=rootDeployment note
DEPLOY_SSH_USERto be a non-root SSH user.Verification