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

Use nginx to serve static files for Nuxt #3180

Open
sarayourfriend opened this issue Oct 10, 2023 · 0 comments
Open

Use nginx to serve static files for Nuxt #3180

sarayourfriend opened this issue Oct 10, 2023 · 0 comments
Labels
🕹 aspect: interface Concerns end-users' experience with the software ✨ goal: improvement Improvement to an existing user-facing feature 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: infra Related to the Terraform config and other infrastructure

Comments

@sarayourfriend
Copy link
Collaborator

Problem

The Nuxt server currently handles serving static file requests. These files would be much better served by Nginx, similar to how we serve static files for Django.

Description

After #3118 is addressed to remove the complex build contexts (started here #3141) it will be much easier to move the Nginx container build into the same Dockerfile as the general frontend, at which point we will be able to copy the Nuxt build files from the frontend image into the Nginx image and configure it to serve those requests on the /_nuxt location.

Additional context

I've already added documentation for this in the frontend nginx container build: #3108 (comment)

We'll need to build on that after the related issues are resolved to simplify the frontend build and remove the complex build contexts.

@sarayourfriend sarayourfriend added 🟨 priority: medium Not blocking but should be addressed soon ✨ goal: improvement Improvement to an existing user-facing feature 🕹 aspect: interface Concerns end-users' experience with the software ⛔ status: blocked Blocked & therefore, not ready for work 🧱 stack: infra Related to the Terraform config and other infrastructure labels Oct 10, 2023
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Openverse Backlog Oct 10, 2023
@obulat obulat removed the ⛔ status: blocked Blocked & therefore, not ready for work label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🕹 aspect: interface Concerns end-users' experience with the software ✨ goal: improvement Improvement to an existing user-facing feature 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: infra Related to the Terraform config and other infrastructure
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants