Skip to content

Commit

Permalink
Merge pull request #600 from GermanZero-de:599-invite-link-bug
Browse files Browse the repository at this point in the history
[#599] route for invite link, locale fix
  • Loading branch information
m-vuk authored Sep 19, 2024
2 parents 49bcd4b + 97cae95 commit 72d0f5f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 9 additions & 0 deletions config/nginx/conf.d/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

location /invitations/ {
# pass requests for dynamic content to gunicorn
proxy_pass http://djangoapp:8000;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}



location / {
proxy_pass http://frontend:3000;
proxy_set_header Host $host;
Expand Down
4 changes: 0 additions & 4 deletions frontend/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "standalone",
i18n: {
locales: ['de', 'en'],
defaultLocale: 'de',
},
images: {
unoptimized: false,
},
Expand Down

0 comments on commit 72d0f5f

Please sign in to comment.