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

🧑‍🔬 NGINX proxy testing #15

Closed
wants to merge 2 commits into from
Closed

🧑‍🔬 NGINX proxy testing #15

wants to merge 2 commits into from

Conversation

jacobwoffenden
Copy link
Member

@jacobwoffenden jacobwoffenden commented Feb 27, 2024

This pull request:

Note:

To run this code:

cd test
docker compose --file docker-compose.yml up

The current configuration from AP's NGINX is:

    location / {

      ... Lua config snipped

      # From RStudio recommended proxy settings.
      proxy_pass http://${APP_HOST}:${APP_PORT};
      proxy_redirect http://${APP_HOST}:${APP_PORT}/ $scheme://$http_host/;
      proxy_http_version 1.1;
      proxy_set_header Upgrade $http_upgrade;
      proxy_set_header Connection $connection_upgrade;
      proxy_set_header Host $host;
      proxy_read_timeout 20d;
    }

Source: https://github.com/ministryofjustice/analytical-platform-nginx-proxy/blob/0f565aa7009f4da189c7c8d65116ebefdbd5bf5d/nginx-proxy/nginx.conf.template#L123-L130

@jacobwoffenden jacobwoffenden self-assigned this Feb 27, 2024
Signed-off-by: Jacob Woffenden <[email protected]>
@Gary-H9
Copy link
Contributor

Gary-H9 commented Feb 28, 2024

PR was for testing purposes. Closing now. Can be re-opened again in future.

@Gary-H9 Gary-H9 closed this Feb 28, 2024
@jacobwoffenden jacobwoffenden deleted the fix/nginx branch February 28, 2024 14:21
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