Skip to content

Commit

Permalink
Fix nginx forward protocol
Browse files Browse the repository at this point in the history
Sync version for package json lock
  • Loading branch information
nqhoan-axonivy committed Aug 29, 2024
1 parent 696b70b commit e25e03d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions marketplace-build/config/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ http {
location /marketplace-service {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://service:8080/marketplace-service;
proxy_ssl_session_reuse off;
Expand Down
2 changes: 2 additions & 0 deletions marketplace-build/release/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ services:

ui:
image: ghcr.io/axonivy-market/marketplace-ui:${RELEASE_VERSION}
volumes:
- ../config/nginx/nginx.conf:/etc/nginx/nginx.conf
restart: always
ports:
- "80:80"
Expand Down
4 changes: 2 additions & 2 deletions marketplace-ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e25e03d

Please sign in to comment.