Skip to content
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

feat: nginx configurations #1213

Merged
merged 5 commits into from
Jul 19, 2024
Merged

feat: nginx configurations #1213

merged 5 commits into from
Jul 19, 2024

Conversation

TorstenDittmann
Copy link
Contributor

What does this PR do?

  • adds compression fallbacks, cache and security headers to nginx
  • adds precompress to static build

Have you read the Contributing Guidelines on issues?

Copy link

vercel bot commented Jul 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
console-1.6 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 18, 2024 9:56pm
console-billing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 18, 2024 9:56pm
console-cloud ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 18, 2024 9:56pm
console-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 18, 2024 9:56pm
console-preview-cloud ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 18, 2024 9:56pm

Copy link
Contributor

@stnguyen90 stnguyen90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried browsing to http://127.0.0.1:3000/auth/oauth2/success but it redirected me to /console. Is that expected?

docker/nginx.conf Outdated Show resolved Hide resolved
docker/nginx.conf Show resolved Hide resolved
@TorstenDittmann
Copy link
Contributor Author

I tried browsing to http://127.0.0.1:3000/auth/oauth2/success but it redirected me to /console. Is that expected?

That redirect will be handled on the appwrite API side. Due to loadbalancer configurations, the console cannot act outside of the /console basepath. So in production it redirects to http://127.0.0.1:3000/console/auth/oauth2/success.

@stnguyen90 stnguyen90 merged commit e359394 into 1.6.x Jul 19, 2024
8 checks passed
@stnguyen90 stnguyen90 deleted the feat-nginx-compression branch July 19, 2024 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants