Skip to content

Update static file serving config in Nginx #177

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

Merged
merged 8 commits into from
Jul 20, 2024

Conversation

korlaxxalrok
Copy link
Collaborator

There are two URL types used for looking up static files:

  • http://MAIN_PAGE/static
  • http://MAIN_PAGE/static/assets

We don't collect static files for both locations, so this updates our Nginx config to use the same alias for both URL types. We do this by adding an additional location for /static/assets and then pointing it the same alias we use for /static.

@korlaxxalrok korlaxxalrok merged commit 55ddd50 into development Jul 20, 2024
1 of 3 checks passed
@korlaxxalrok korlaxxalrok deleted the update-static-files-config branch July 20, 2024 23:34
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.

1 participant